A couple fixes to the CPCursor stuff

This commit is contained in:
Ross Boucher committed 2009-12-04 11:12:13 -08:00
1 parent c36c750c5d
commit e1d3363ad9
2 files changed
+4 -2

No files matched your search

+1
View File
@@ -43,6 +43,7 @@
@import "CPCompatibility.j"
@import "CPControl.j"
@import "CPCookie.j"
@import "CPCursor.j"
@import "CPDocument.j"
@import "CPDocumentController.j"
@import "CPEvent.j"
+3 -2
View File
@@ -54,8 +54,9 @@ var currentCursor = nil,
if (!cursorURLFormat)
{
cursorURLFormat = @"url(" + [[CPBundle bundleForClass:self] resourcePath] + @"/CPCursor/%@.cur)";
if CPBrowserIsEngine(CPGeckoBrowserEngine)
cursorURLFormat+ = ", default";
if (CPBrowserIsEngine(CPGeckoBrowserEngine))
cursorURLFormat += ", default";
}
var url = [CPString stringWithFormat:cursorURLFormat, imageName];