mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[MSPAINT] Fix ImageModel::PushImageForUndo bug
CORE-19274
This commit is contained in:
parent
bdae8cf966
commit
aed376e00f
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ void ImageModel::ClearHistory()
|
|||
void ImageModel::PushImageForUndo()
|
||||
{
|
||||
HBITMAP hbm = CopyBitmap();
|
||||
if (hbm)
|
||||
if (hbm == NULL)
|
||||
{
|
||||
ShowOutOfMemory();
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue