diff options
-rw-r--r-- | scumm/debugger.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/debugger.cpp b/scumm/debugger.cpp index 6a6b3756ee..9423a23272 100644 --- a/scumm/debugger.cpp +++ b/scumm/debugger.cpp @@ -363,10 +363,10 @@ bool ScummDebugger::Cmd_PrintActor(int argc, const char **argv) { bool ScummDebugger::Cmd_Help(int argc, const char **argv) { // console normally has 39 line width // wrap around nicely - int width = 0, size; + int width = 0, size, i; Debug_Printf("Commands are:\n"); - for (int i=0 ; i < _dcmd_count ; i++) { + for (i = 0 ; i < _dcmd_count ; i++) { size = strlen(_dcmds[i].name) + 1; if ((width + size) >= 39) { @@ -381,7 +381,7 @@ bool ScummDebugger::Cmd_Help(int argc, const char **argv) { width = 0; Debug_Printf("\n\nVariables are:\n"); - for (int i=0 ; i < _dvar_count ; i++) { + for (i = 0 ; i < _dvar_count ; i++) { size = strlen(_dvars[i].name) + 1; if ((width + size) >= 39) { |