Fix cocoa_bitmap_modified scope error introduced in cleanup

This commit is contained in:
Vincent Sanders 2015-06-18 10:12:11 +01:00
parent 9c6b3e8c32
commit 8aa04c2447

View File

@ -157,7 +157,7 @@ static bool bitmap_save(void *bitmap, const char *path, unsigned flags)
return [tiff writeToFile: [NSString stringWithUTF8String: path] atomically: YES];
}
static void cocoa_bitmap_modified(void *bitmap)
void cocoa_bitmap_modified(void *bitmap)
{
NSMapTable *cache = cocoa_get_bitmap_cache();
CGImageRef image = NSMapGet( cache, bitmap );