Win32 - Memwatch - fixed a mistake I made in CloseMemoryWatch()

This commit is contained in:
adelikat 2009-03-02 15:24:50 +00:00
parent 00f4ce012f
commit 996a4f5965
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}