From 5f4c79f6c43f068071e46b345cc65a104c976f28 Mon Sep 17 00:00:00 2001 From: daboe01 Date: Sun, 31 Mar 2019 17:44:07 +0200 Subject: [PATCH] fixed: accidental creation of a global variable --- AppKit/CPCursor.j | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) mode change 100755 => 100644 AppKit/CPCursor.j diff --git a/AppKit/CPCursor.j b/AppKit/CPCursor.j old mode 100755 new mode 100644 index a0968c358..7a3907f26 --- a/AppKit/CPCursor.j +++ b/AppKit/CPCursor.j @@ -193,9 +193,8 @@ CPCursorPlatformBoth = 3; if (typeof cursor === "undefined") { var themeResourcePath = [[[CPApp themeBlend] bundle] resourcePath], - extension = CPBrowserIsOperatingSystem(CPWindowsOperatingSystem) ? @"cur" : @"png"; - - cssString = [CPString stringWithFormat:@"url(%@cursors/%@.%@), %@", themeResourcePath, cursorName, extension, aString]; + extension = CPBrowserIsOperatingSystem(CPWindowsOperatingSystem) ? @"cur" : @"png", + cssString = [CPString stringWithFormat:@"url(%@cursors/%@.%@), %@", themeResourcePath, cursorName, extension, aString]; cursors[cursorName] = cursor = [[CPCursor alloc] initWithCSSString:cssString]; }