diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-10 17:45:15 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-08-10 17:45:15 +0000 |
commit | 81219329d4090dd2b1e3c37ae005f3c7795f4d08 (patch) | |
tree | d8e96d296112189cd5bbf46db4a6c483eb027cf6 /src/gui/npclistdialog.cpp | |
parent | 5f685256ba8786b133b14f8702c7e71e0d9d4bcd (diff) | |
download | mana-client-81219329d4090dd2b1e3c37ae005f3c7795f4d08.tar.gz mana-client-81219329d4090dd2b1e3c37ae005f3c7795f4d08.tar.bz2 mana-client-81219329d4090dd2b1e3c37ae005f3c7795f4d08.tar.xz mana-client-81219329d4090dd2b1e3c37ae005f3c7795f4d08.zip |
Removed colon in NPC choice messages.
Diffstat (limited to 'src/gui/npclistdialog.cpp')
-rw-r--r-- | src/gui/npclistdialog.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/gui/npclistdialog.cpp b/src/gui/npclistdialog.cpp index 487bdf60..ff017a0e 100644 --- a/src/gui/npclistdialog.cpp +++ b/src/gui/npclistdialog.cpp @@ -75,15 +75,9 @@ NpcListDialog::getElementAt(int i) return mItems[i]; } -void -NpcListDialog::parseItems(const std::string &itemString) +void NpcListDialog::addItem(std::string const &item) { - std::istringstream iss(itemString); - - std::string tmp; - while(getline(iss, tmp, ':')) { - mItems.push_back(tmp); - } + mItems.push_back(item); } void |