summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-26 00:38:19 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-26 00:38:19 +0300
commitb296e03e228f4506b65852b055df007ccbe14310 (patch)
tree34daafc58f04926e1f9f7ac84fca168243c9ddab /src/commands.cpp
parent847019ebb169d95d2ca00edcf4e209019513fb35 (diff)
downloadplus-b296e03e228f4506b65852b055df007ccbe14310.tar.gz
plus-b296e03e228f4506b65852b055df007ccbe14310.tar.bz2
plus-b296e03e228f4506b65852b055df007ccbe14310.tar.xz
plus-b296e03e228f4506b65852b055df007ccbe14310.zip
fix compilation errors in debug code.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index c7a4ce824..d301ab391 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1279,9 +1279,9 @@ void showRes(std::string str, ResourceManager::Resources *res)
if (!res)
return;
- str.append(toString(res->size());
+ str.append(toString(res->size()));
if (debugChatTab)
- debugChatTab->chatLog(str));
+ debugChatTab->chatLog(str);
logger->log(str);
ResourceManager::ResourceIterator iter = res->begin();
const ResourceManager::ResourceIterator iter_end = res->end();
@@ -1306,8 +1306,8 @@ void showRes(std::string str, ResourceManager::Resources *res)
type = 'I';
if (image)
id = image->getGLImage();
- logger->log("Resource %c%c: %s (%d) id=%d", type.c_str(),
- isNew.c_str(), iter->second->getIdPath().c_str(),
+ logger->log("Resource %c%c: %s (%d) id=%d", type,
+ isNew, iter->second->getIdPath().c_str(),
iter->second->getRefCount(), id);
}
++ iter;