2
0
Эх сурвалжийг харах

cocoa: use resolved filename to load cursor image (thanks treamous)

rdb 5 жил өмнө
parent
commit
2b632c8e20

+ 1 - 1
panda/src/cocoadisplay/cocoaGraphicsWindow.mm

@@ -1351,7 +1351,7 @@ load_image_data(const Filename &filename) {
   cocoadisplay_cat.info()
     << "Loading NSImage from file " << resolved << "\n";
 
-  PT(VirtualFile) vfile = vfs->get_file(filename);
+  PT(VirtualFile) vfile = vfs->get_file(resolved);
   if (vfile == NULL) {
     return nil;
   }