diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-29 03:51:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-03-29 03:52:16 +0300 |
commit | 3bf4e26b1319295532bb4396cbd6406d85cbcae0 (patch) | |
tree | 80a4303b29aafa21683e90e45798283a482bf1d1 /src/net/ea | |
parent | 7f607a0f58a9eba53237955c06bf445c71d57b6c (diff) | |
download | plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.gz plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.bz2 plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.tar.xz plus-3bf4e26b1319295532bb4396cbd6406d85cbcae0.zip |
Replace vectors with strings to short names.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/charserverhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/gui/guildtab.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/gui/guildtab.h | 2 | ||||
-rw-r--r-- | src/net/ea/gui/partytab.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/gui/partytab.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp index 67894b0d9..942ba79a6 100644 --- a/src/net/ea/charserverhandler.cpp +++ b/src/net/ea/charserverhandler.cpp @@ -62,7 +62,7 @@ void CharServerHandler::setCharCreateDialog(CharCreateDialog *window) if (!mCharCreateDialog) return; - std::vector<std::string> attributes; + StringVect attributes; attributes.push_back(_("Strength:")); attributes.push_back(_("Agility:")); attributes.push_back(_("Vitality:")); diff --git a/src/net/ea/gui/guildtab.cpp b/src/net/ea/gui/guildtab.cpp index bd1521b21..3ab6a48eb 100644 --- a/src/net/ea/gui/guildtab.cpp +++ b/src/net/ea/gui/guildtab.cpp @@ -139,7 +139,7 @@ void GuildTab::showHelp() chatLog(_("/kick > Kick some one from the guild you are in")); } -void GuildTab::getAutoCompleteList(std::vector<std::string> &names) const +void GuildTab::getAutoCompleteList(StringVect &names) const { if (taGuild) taGuild->getNames(names); diff --git a/src/net/ea/gui/guildtab.h b/src/net/ea/gui/guildtab.h index 22a41ce80..6ccf70903 100644 --- a/src/net/ea/gui/guildtab.h +++ b/src/net/ea/gui/guildtab.h @@ -52,7 +52,7 @@ class GuildTab : public ChatTab protected: void handleInput(const std::string &msg); - void getAutoCompleteList(std::vector<std::string> &names) const; + void getAutoCompleteList(StringVect &names) const; }; } // namespace Ea diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp index e69207842..0e3b51928 100644 --- a/src/net/ea/gui/partytab.cpp +++ b/src/net/ea/gui/partytab.cpp @@ -225,7 +225,7 @@ bool PartyTab::handleCommand(const std::string &type, const std::string &args) return true; } -void PartyTab::getAutoCompleteList(std::vector<std::string> &names) const +void PartyTab::getAutoCompleteList(StringVect &names) const { if (!player_node) return; diff --git a/src/net/ea/gui/partytab.h b/src/net/ea/gui/partytab.h index 931b283dd..a92f6e207 100644 --- a/src/net/ea/gui/partytab.h +++ b/src/net/ea/gui/partytab.h @@ -52,7 +52,7 @@ class PartyTab : public ChatTab protected: void handleInput(const std::string &msg); - virtual void getAutoCompleteList(std::vector<std::string>&) const; + virtual void getAutoCompleteList(StringVect&) const; }; extern PartyTab *partyTab; |