From 06826a504557eda0741b321601fcea6f9f5f71aa Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 17 Aug 2025 19:23:16 +0300 Subject: [PATCH] Fix debugger quoted string read --- debug.cpp | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/debug.cpp b/debug.cpp index 9d69f90f..c53154b7 100644 --- a/debug.cpp +++ b/debug.cpp @@ -1054,19 +1054,24 @@ static size_t next_string (TCHAR **c, TCHAR *out, int max, int forceupper) } *p = 0; while (**c != 0) { - if (**c == '\"' && startmarker) + if (**c == '\"' && startmarker) { + (*c)++; + ignore_ws(c); break; + } if (**c == 32 && !startmarker) { ignore_ws (c); break; } *p = next_char2(c); - if (forceupper) + if (forceupper) { *p = _totupper(*p); + } *++p = 0; max--; - if (max <= 1) + if (max <= 1) { break; + } } return _tcslen (out); } -- 2.47.3