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

This commit is contained in:
rdb 2020-02-01 09:49:35 +01:00
parent e13e9851f2
commit 2b632c8e20

View File

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