From c7f3416daa0238bb60e83a6d6d665a7f3a7e6d6c Mon Sep 17 00:00:00 2001 From: Adrian Frühwirth Date: Sun, 20 May 2018 22:36:40 +0200 Subject: JANITORIAL: Remove trailing whitespace --- gui/debugger.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gui/debugger.cpp') 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; -- cgit v1.2.3