Fix whitespaces / code formatting

svn-id: r44361
This commit is contained in:
Max Horn
2009-09-25 16:53:18 +00:00
parent 0cbbd538e7
commit e1df1e3ddc
17 changed files with 20 additions and 48 deletions
+3 -3
View File
@@ -120,7 +120,7 @@ void CompressionExample::execute() {
// We always need to setup default output path, since there is no obligation to specify it
// If you don't do this, the OS will usually default to the working directory, if we output a file
// it will fail most likely
if(_outputPath.empty())
if (_outputPath.empty())
_outputPath = "output/";
// The File class is very similar to the FILE struct, look in util.h for details
@@ -149,7 +149,7 @@ void CompressionExample::execute() {
outname << i;
// Open a file for writing
if(_outputFiles) {
if (_outputFiles) {
File out(_outputPath.getPath() + outname.str() + ".exo", "w");
// What we actually do, output some text alot
@@ -161,7 +161,7 @@ void CompressionExample::execute() {
}
} else {
// Do nothing for awhile
for(int i = 0; i < 1000000; ++i) {
for (int i = 0; i < 1000000; ++i) {
int *n = new int;
delete n;
}