Bläddra i källkod

STYLE: use braces

Alex
Alexander Neundorf 18 år sedan
förälder
incheckning
fc07a8c353
1 ändrade filer med 6 tillägg och 4 borttagningar
  1. 6 4
      Source/cmGlobalKdevelopGenerator.cxx

+ 6 - 4
Source/cmGlobalKdevelopGenerator.cxx

@@ -485,15 +485,17 @@ void cmGlobalKdevelopGenerator
   fout<<"</kdevelop>\n";
   fout<<"</kdevelop>\n";
   
   
   if (sessionFilename.empty())
   if (sessionFilename.empty())
-     return;
+    {
+    return;
+    }
 
 
   // and a session file, so that kdevelop opens a file if it opens the
   // and a session file, so that kdevelop opens a file if it opens the
   // project the first time
   // project the first time
   cmGeneratedFileStream devses(sessionFilename.c_str());
   cmGeneratedFileStream devses(sessionFilename.c_str());
   if(!devses)
   if(!devses)
-  {
-     return;
-  }
+    {
+    return;
+    }
   devses<<"<?xml version = '1.0' encoding = \'UTF-8\'?>\n";
   devses<<"<?xml version = '1.0' encoding = \'UTF-8\'?>\n";
   devses<<"<!DOCTYPE KDevPrjSession>\n";
   devses<<"<!DOCTYPE KDevPrjSession>\n";
   devses<<"<KDevPrjSession>\n";
   devses<<"<KDevPrjSession>\n";