mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-16 09:12:44 +03:00
Fix cocoa_bitmap_modified scope error introduced in cleanup
This commit is contained in:
parent
9c6b3e8c32
commit
8aa04c2447
@ -157,7 +157,7 @@ static bool bitmap_save(void *bitmap, const char *path, unsigned flags)
|
|||||||
return [tiff writeToFile: [NSString stringWithUTF8String: path] atomically: YES];
|
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();
|
NSMapTable *cache = cocoa_get_bitmap_cache();
|
||||||
CGImageRef image = NSMapGet( cache, bitmap );
|
CGImageRef image = NSMapGet( cache, bitmap );
|
||||||
|
Loading…
Reference in New Issue
Block a user