Avoid a warning from g++ 4.3.
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 25 Jan 2008 12:23:29 +0000 (12:23 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Fri, 25 Jan 2008 12:23:29 +0000 (12:23 +0000)
git-svn-id: http://svn.voria.com/code@1462 1f10aa63-cdf2-0310-b900-c93c546f37ac

ETL/trunk/ETL/_stringf.h

index dfc4bcf..6962799 100644 (file)
@@ -198,10 +198,12 @@ dirname(const std::string &str)
                        break;
 
        if(iter==str.begin())
+       {
           if (*iter==ETL_DIRECTORY_SEPARATOR)
                   return "/";
           else
                   return ".";
+       }
 
        return std::string(str.begin(),iter);
 }