summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-03-29 03:51:37 +0300
committerAndrei Karas <akaras@inbox.ru>2012-03-29 03:52:16 +0300
commit3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch)
tree80a4303b29aafa21683e90e45798283a482bf1d1 /src/gui/npcdialog.h
parent7f607a0f58a9eba53237955c06bf445c71d57b6c (diff)
downloadmanaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz
manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2
manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz
manaverse-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip
Replace vectors with strings to short names.
Diffstat (limited to 'src/gui/npcdialog.h')
-rw-r--r--src/gui/npcdialog.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/npcdialog.h b/src/gui/npcdialog.h
index 7bd2ee76d..a779fcc64 100644
--- a/src/gui/npcdialog.h
+++ b/src/gui/npcdialog.h
@@ -27,12 +27,12 @@
#include "gui/widgets/window.h"
+#include "utils/stringvector.h"
+
#include <guichan/actionlistener.hpp>
#include <guichan/listmodel.hpp>
#include <list>
-#include <string>
-#include <vector>
class BrowserBox;
class ItemLinkHandler;
@@ -201,7 +201,7 @@ class NpcDialog : public Window, public gcn::ActionListener,
// Used for choice input
ListBox *mItemList;
gcn::ScrollArea *mListScrollArea;
- std::vector<std::string> mItems;
+ StringVect mItems;
ItemLinkHandler *mItemLinkHandler;
// Used for string and integer input