cocoa: use resolved filename to load cursor image (thanks treamous)
This commit is contained in:
parent
e13e9851f2
commit
2b632c8e20
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue