From b296e03e228f4506b65852b055df007ccbe14310 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 26 Aug 2013 00:38:19 +0300 Subject: fix compilation errors in debug code. --- src/commands.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/commands.cpp') 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; -- cgit v1.2.3-70-g09d2