diff options
author | Adrian Frühwirth | 2018-05-20 22:36:40 +0200 |
---|---|---|
committer | Adrian Frühwirth | 2018-05-20 23:40:20 +0200 |
commit | c7f3416daa0238bb60e83a6d6d665a7f3a7e6d6c (patch) | |
tree | ed7b352caca6c4410c01b8eda21c58156bacdca8 /gui/debugger.cpp | |
parent | 5dda21c1c2552945a9446ee24ec6692734a0332a (diff) | |
download | scummvm-rg350-c7f3416daa0238bb60e83a6d6d665a7f3a7e6d6c.tar.gz scummvm-rg350-c7f3416daa0238bb60e83a6d6d665a7f3a7e6d6c.tar.bz2 scummvm-rg350-c7f3416daa0238bb60e83a6d6d665a7f3a7e6d6c.zip |
JANITORIAL: Remove trailing whitespace
Diffstat (limited to 'gui/debugger.cpp')
-rw-r--r-- | gui/debugger.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/debugger.cpp b/gui/debugger.cpp index fb03b57892..9b559d8bb9 100644 --- a/gui/debugger.cpp +++ b/gui/debugger.cpp @@ -404,17 +404,17 @@ void Debugger::splitCommand(char *input, int &argc, const char **argv) { byte c; enum states { DULL, IN_WORD, IN_STRING } state = DULL; const char *paramStart = nullptr; - + argc = 0; for (char *p = input; *p; ++p) { c = (byte)*p; switch (state) { - case DULL: + case DULL: // not in a word, not in a double quoted string if (isspace(c)) break; - + // not a space -- if it's a double quote we go to IN_STRING, else to IN_WORD if (c == '"') { state = IN_STRING; |