From 3808427f2476ded39362b8f6ce4e5b8e5364e87e Mon Sep 17 00:00:00 2001 From: Martin Carlberg Date: Thu, 16 May 2013 16:15:29 +0200 Subject: [PATCH] Fixed: Accidental global variable --- AppKit/CPTableView.j | 2 +- AppKit/CoreGraphics/CGContextCanvas.j | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AppKit/CPTableView.j b/AppKit/CPTableView.j index ddcf8063f..8da55aa22 100644 --- a/AppKit/CPTableView.j +++ b/AppKit/CPTableView.j @@ -82,7 +82,7 @@ var CPTableViewDelegate_selectionShouldChangeInTableView_ CPTableViewDelegate_tableView_willDisplayView_forTableColumn_row_ = 1 << 17, CPTableViewDelegate_tableViewSelectionDidChange_ = 1 << 18, CPTableViewDelegate_tableViewSelectionIsChanging_ = 1 << 19, - CPTableViewDelegate_tableViewMenuForTableColumn_Row_ = 1 << 20; + CPTableViewDelegate_tableViewMenuForTableColumn_Row_ = 1 << 20, CPTableViewDelegate_tableView_shouldReorderColumn_toColumn_ = 1 << 21; //CPTableViewDraggingDestinationFeedbackStyles diff --git a/AppKit/CoreGraphics/CGContextCanvas.j b/AppKit/CoreGraphics/CGContextCanvas.j index 892813d3d..77af706c8 100644 --- a/AppKit/CoreGraphics/CGContextCanvas.j +++ b/AppKit/CoreGraphics/CGContextCanvas.j @@ -470,7 +470,7 @@ var scale_rotate = function(a, b, c, d) var rotate_scale = function(a, b, c, d) { - var sign = (a * d < 0.0 || b * c > 0.0) ? -1.0 : 1.0; + var sign = (a * d < 0.0 || b * c > 0.0) ? -1.0 : 1.0, a1 = (ATAN2(sign * b, sign * a) + ATAN2(-c, d)) / 2.0, cos = COS(a1), sin = SIN(a1);