mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-29 00:23:48 +00:00
Fix usage of ImageRef shared pointer in app/util/clipboard.cpp
This commit is contained in:
parent
063f1d173c
commit
e05a635533
@ -421,7 +421,7 @@ bool clipboard::get_image_size(gfx::Size& size)
|
||||
// Get the image from the clipboard.
|
||||
return get_win32_clipboard_bitmap_size(size);
|
||||
#else
|
||||
if (clipboard_image != NULL) {
|
||||
if (clipboard_image) {
|
||||
size.w = clipboard_image->width();
|
||||
size.h = clipboard_image->height();
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user