summaryrefslogtreecommitdiff
path: root/src/gui/npclistdialog.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-10 17:45:15 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-10 17:45:15 +0000
commit81219329d4090dd2b1e3c37ae005f3c7795f4d08 (patch)
treed8e96d296112189cd5bbf46db4a6c483eb027cf6 /src/gui/npclistdialog.cpp
parent5f685256ba8786b133b14f8702c7e71e0d9d4bcd (diff)
downloadmana-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.cpp10
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