From 351821c1f18f9285be58df0a05339936311f6490 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 12 Apr 2013 18:39:00 +0300 Subject: first part of style fixed after cpplint checks. --- src/commands.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index 9b3a776d4..9044a83a5 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -350,7 +350,8 @@ impHandler0(cleanGraphics) { ResourceManager *const resman = ResourceManager::getInstance(); resman->cleanProtected(); - while (resman->cleanOrphans(true)); + while (resman->cleanOrphans(true)) + continue; if (debugChatTab) debugChatTab->chatLog(_("Cache cleaned")); @@ -961,7 +962,7 @@ impHandler0(serverUnIgnoreAll) impHandler2(dumpGraphics) { - std::string str = strprintf ("%s,%s,%dX%dX%d,", PACKAGE_OS, SMALL_VERSION, + std::string str = strprintf("%s,%s,%dX%dX%d,", PACKAGE_OS, SMALL_VERSION, mainGraphics->getWidth(), mainGraphics->getHeight(), mainGraphics->getBpp()); @@ -1225,4 +1226,4 @@ void replaceVars(std::string &str) } } -} +} // namespace Commands -- cgit v1.2.3-60-g2f50