diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-20 01:11:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-20 01:11:38 +0300 |
commit | 41959b08b3e44e00e7a388451142ee7934f05d2b (patch) | |
tree | 0f3ae4e9297b16eea6e61b925457761148bbb338 /src | |
parent | 132ee3146d10b6e6a860bfd7e03b5a8667f2a44b (diff) | |
download | manaplus-41959b08b3e44e00e7a388451142ee7934f05d2b.tar.gz manaplus-41959b08b3e44e00e7a388451142ee7934f05d2b.tar.bz2 manaplus-41959b08b3e44e00e7a388451142ee7934f05d2b.tar.xz manaplus-41959b08b3e44e00e7a388451142ee7934f05d2b.zip |
Remove wrong cleaning of ImageRect from theme.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/theme.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index b36791b13..9150ad1a7 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -424,8 +424,6 @@ Skin *Theme::readSkin(const std::string &filename, const bool full) Image *const dBorders = Theme::getImageFromTheme(skinSetImage); ImageRect *const border = new ImageRect; ImageRect *const images = new ImageRect; - memset(border, 0, sizeof(ImageRect)); - memset(images, 0, sizeof(ImageRect)); int padding = 3; int titlePadding = 4; int titlebarHeight = 0; |