diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-11 20:03:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-11 20:03:02 +0300 |
commit | 91fa2122a536770924bb2819bec4b79e76393d08 (patch) | |
tree | 93c0e191249b2158cf92a564630a4b16e9ccdcaa /src/gui/shopwindow.cpp | |
parent | 1a524dc9468fe532bc060a73ef736a68687aadca (diff) | |
download | ManaVerse-91fa2122a536770924bb2819bec4b79e76393d08.tar.gz ManaVerse-91fa2122a536770924bb2819bec4b79e76393d08.tar.bz2 ManaVerse-91fa2122a536770924bb2819bec4b79e76393d08.tar.xz ManaVerse-91fa2122a536770924bb2819bec4b79e76393d08.zip |
Fix code style and small perfomance issues.
Diffstat (limited to 'src/gui/shopwindow.cpp')
-rw-r--r-- | src/gui/shopwindow.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/shopwindow.cpp b/src/gui/shopwindow.cpp index 95ee92f9f..386652a93 100644 --- a/src/gui/shopwindow.cpp +++ b/src/gui/shopwindow.cpp @@ -693,9 +693,7 @@ void ShopWindow::processRequest(std::string nick, std::string data, if (!inv) return; - size_t idx = 0; - - idx = data.find(" "); + size_t idx = data.find(" "); if (idx == std::string::npos) return; |