STYLE: use braces

Alex
This commit is contained in:
Alexander Neundorf 2007-05-17 16:50:53 -04:00
parent ba2988e4c5
commit fc07a8c353
1 changed files with 6 additions and 4 deletions

View File

@ -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";