fixed: accidental creation of a global variable

This commit is contained in:
daboe01 committed 2019-03-31 17:44:07 +02:00
1 parent 6853c4c212
commit 5f4c79f6c4
1 file changed
+2 -3
Executable → Regular
+2 -3
View File
@@ -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];
}