From 8aa04c24473947e2d2496bca1ca17275aee549dc Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 18 Jun 2015 10:12:11 +0100 Subject: [PATCH] Fix cocoa_bitmap_modified scope error introduced in cleanup --- cocoa/bitmap.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocoa/bitmap.m b/cocoa/bitmap.m index bd4e2228f..6e263a1ea 100644 --- a/cocoa/bitmap.m +++ b/cocoa/bitmap.m @@ -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 );