diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-22 03:19:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-22 03:19:02 +0300 |
commit | 20bbdf47fe60e4188c837b5f6041417bdf542b40 (patch) | |
tree | dc6c14ab6258d5fff410e04678f6542019d7e540 | |
parent | e2864bf7fadbfc7a6ce6bbd5ef7a3645e1904b11 (diff) | |
download | plus-20bbdf47fe60e4188c837b5f6041417bdf542b40.tar.gz plus-20bbdf47fe60e4188c837b5f6041417bdf542b40.tar.bz2 plus-20bbdf47fe60e4188c837b5f6041417bdf542b40.tar.xz plus-20bbdf47fe60e4188c837b5f6041417bdf542b40.zip |
Clear icon pointer after icon was deleted in windowmanager.
-rw-r--r-- | src/gui/windowmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windowmanager.cpp b/src/gui/windowmanager.cpp index 4f51ef525..828e59c65 100644 --- a/src/gui/windowmanager.cpp +++ b/src/gui/windowmanager.cpp @@ -439,4 +439,5 @@ void WindowManager::updateScreenKeyboard(const int height) void WindowManager::deleteIcon() { MSDL_FreeSurface(mIcon); + mIcon = nullptr; } |