aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/utility.cpp
diff options
context:
space:
mode:
authorMarisa-Chan2013-10-20 18:39:06 +0000
committerMarisa-Chan2013-10-20 18:39:06 +0000
commit25834faf0738ae6c33819b196fdfb8ab5e8f1888 (patch)
treefb4c9fa0883f24d44a9c76926cf99be32c908f9e /engines/zvision/utility.cpp
parentaefa58f5a4470b1ba2e275c62aa1a7a0cec76539 (diff)
downloadscummvm-rg350-25834faf0738ae6c33819b196fdfb8ab5e8f1888.tar.gz
scummvm-rg350-25834faf0738ae6c33819b196fdfb8ab5e8f1888.tar.bz2
scummvm-rg350-25834faf0738ae6c33819b196fdfb8ab5e8f1888.zip
ZVISION: Style modifing by astyle.
Diffstat (limited to 'engines/zvision/utility.cpp')
-rw-r--r--engines/zvision/utility.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/zvision/utility.cpp b/engines/zvision/utility.cpp
index d973cb2f4c..1d96b33021 100644
--- a/engines/zvision/utility.cpp
+++ b/engines/zvision/utility.cpp
@@ -39,7 +39,7 @@ void writeFileContentsToFile(const Common::String &sourceFile, const Common::Str
return;
}
- byte* buffer = new byte[f.size()];
+ byte *buffer = new byte[f.size()];
f.read(buffer, f.size());
Common::DumpFile dumpFile;
@@ -63,10 +63,10 @@ void trimCommentsAndWhiteSpace(Common::String *string) {
}
void tryToDumpLine(const Common::String &key,
- Common::String &line,
- Common::HashMap<Common::String, byte> *count,
- Common::HashMap<Common::String, bool> *fileAlreadyUsed,
- Common::DumpFile &output) {
+ Common::String &line,
+ Common::HashMap<Common::String, byte> *count,
+ Common::HashMap<Common::String, bool> *fileAlreadyUsed,
+ Common::DumpFile &output) {
const byte numberOfExamplesPerType = 8;
if ((*count)[key] < numberOfExamplesPerType && !(*fileAlreadyUsed)[key]) {
@@ -203,7 +203,7 @@ void convertRawToWav(const Common::String &inputFile, ZVision *engine, const Com
return;
Audio::AudioStream *audioStream = makeRawZorkStream(inputFile, engine);
-
+
Common::DumpFile output;
output.open(outputFile);