From 0e7b201f95198db490b83a8c2b3403a2e33a4836 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Mon, 9 Dec 2019 19:34:23 +0200 Subject: [PATCH] DMA debugger command line parsing fix. --- debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug.cpp b/debug.cpp index 6dba2553..ad7325df 100644 --- a/debug.cpp +++ b/debug.cpp @@ -5901,11 +5901,11 @@ static bool debug_line (TCHAR *input) } } } else { + int nextcmd = peekchar(&inptr); if (more_params(&inptr) && *inptr == '?') { mw_help(); } else { free_heatmap(); - int nextcmd = peekchar(&inptr); if (nextcmd != ' ') { next_char(&inptr); } -- 2.47.3