Win32 - Memwatch - fixed a mistake I made in CloseMemoryWatch()
This commit is contained in:
parent
00f4ce012f
commit
996a4f5965
|
@ -658,6 +658,11 @@ bool CloseMemoryWatch()
|
|||
else
|
||||
return false; //User requested cancel, so abort the attempt to close
|
||||
}
|
||||
else //File was not changed so just close
|
||||
{
|
||||
DestroyWindow(hwndMemWatch);
|
||||
hwndMemWatch=0;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue