mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[MSPAINT] Fix ImageModel::PushImageForUndo bug
CORE-19274
This commit is contained in:
@@ -119,7 +119,7 @@ void ImageModel::ClearHistory()
|
||||
void ImageModel::PushImageForUndo()
|
||||
{
|
||||
HBITMAP hbm = CopyBitmap();
|
||||
if (hbm)
|
||||
if (hbm == NULL)
|
||||
{
|
||||
ShowOutOfMemory();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user