From 2fdb687596ed775862b5a12c154bf6328e4cd7f7 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 30 May 2017 21:45:19 +0300 Subject: fix uninitialised values in npc dialog constructor. --- src/gui/windows/npcdialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/npcdialog.cpp') diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp index e1b139bd8..a6c7fe857 100644 --- a/src/gui/windows/npcdialog.cpp +++ b/src/gui/windows/npcdialog.cpp @@ -107,6 +107,8 @@ NpcDialog::NpcDialog(const BeingId npcId) : "npc_textbackground.xml")), mText(), mNewText(), + mItems(), + mImages(), mItemList(CREATEWIDGETR(ExtendedListBox, this, this, "extendedlistbox.xml")), mListScrollArea(new ScrollArea(this, mItemList, @@ -116,8 +118,6 @@ NpcDialog::NpcDialog(const BeingId npcId) : mSkinScrollArea(new ScrollArea(this, mSkinContainer, fromBool(getOptionBool("showlistbackground"), Opaque), "npc_listbackground.xml")), - mItems(), - mImages(), mItemLinkHandler(new ItemLinkHandler), mTextField(new TextField(this, "")), mIntField(new IntTextField(this)), -- cgit v1.2.3-70-g09d2