summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-30 21:45:19 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-30 21:45:19 +0300
commit2fdb687596ed775862b5a12c154bf6328e4cd7f7 (patch)
treed7c7a0a33f1ec88e23b4ccf4cfe66b7f619b851f /src/gui/windows/npcdialog.h
parente7d913aca1cc6fef85253962c39366e9b8fb721f (diff)
downloadmanaplus-2fdb687596ed775862b5a12c154bf6328e4cd7f7.tar.gz
manaplus-2fdb687596ed775862b5a12c154bf6328e4cd7f7.tar.bz2
manaplus-2fdb687596ed775862b5a12c154bf6328e4cd7f7.tar.xz
manaplus-2fdb687596ed775862b5a12c154bf6328e4cd7f7.zip
fix uninitialised values in npc dialog constructor.
Diffstat (limited to 'src/gui/windows/npcdialog.h')
-rw-r--r--src/gui/windows/npcdialog.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/npcdialog.h b/src/gui/windows/npcdialog.h
index 61b505fb1..0c16c7df2 100644
--- a/src/gui/windows/npcdialog.h
+++ b/src/gui/windows/npcdialog.h
@@ -278,12 +278,12 @@ class NpcDialog final : public Window,
std::string mNewText;
// Used for choice input
+ StringVect mItems;
+ std::vector<Image *> mImages;
ExtendedListBox *mItemList A_NONNULLPOINTER;
ScrollArea *mListScrollArea A_NONNULLPOINTER;
Container *mSkinContainer A_NONNULLPOINTER;
ScrollArea *mSkinScrollArea A_NONNULLPOINTER;
- StringVect mItems;
- std::vector<Image *> mImages;
ItemLinkHandler *mItemLinkHandler A_NONNULLPOINTER;
// Used for string and integer input