Fix usage of ImageRef shared pointer in app/util/clipboard.cpp

This commit is contained in:
David Capello 2015-05-11 10:41:11 -03:00
parent 063f1d173c
commit e05a635533

View File

@ -421,7 +421,7 @@ bool clipboard::get_image_size(gfx::Size& size)
// Get the image from the clipboard. // Get the image from the clipboard.
return get_win32_clipboard_bitmap_size(size); return get_win32_clipboard_bitmap_size(size);
#else #else
if (clipboard_image != NULL) { if (clipboard_image) {
size.w = clipboard_image->width(); size.w = clipboard_image->width();
size.h = clipboard_image->height(); size.h = clipboard_image->height();
return true; return true;