From ac59693be26b4239aaaf380896a1e1b753172546 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 29 Jan 2009 05:26:12 +0000 Subject: A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines svn-id: r36127 --- engines/scumm/script_v5.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/scumm/script_v5.cpp') diff --git a/engines/scumm/script_v5.cpp b/engines/scumm/script_v5.cpp index ce5ac4f323..a50dde5271 100644 --- a/engines/scumm/script_v5.cpp +++ b/engines/scumm/script_v5.cpp @@ -2064,7 +2064,8 @@ void ScummEngine_v5::o5_roomOps() { a = getVarOrDirectByte(PARAM_1); s = filename; - while ((*s++ = fetchScriptByte())); + while ((*s++ = fetchScriptByte())) + ; file = _saveFileMan->openForSaving(filename); if (file != NULL) { @@ -2083,7 +2084,8 @@ void ScummEngine_v5::o5_roomOps() { a = getVarOrDirectByte(PARAM_1); s = filename; - while ((*s++ = fetchScriptByte())); + while ((*s++ = fetchScriptByte())) + ; file = _saveFileMan->openForLoading(filename); if (file != NULL) { -- cgit v1.2.3