diff options
| author | Cloud Wu <cloudwu@gmail.com> | 2025-10-17 08:24:39 +0800 |
|---|---|---|
| committer | Cloud Wu <cloudwu@gmail.com> | 2025-10-17 08:24:39 +0800 |
| commit | f457f546d994cb62a787ed675508634bbb9348a0 (patch) | |
| tree | f26beab57f46a879b4bc6ed7d68ed227af8971e1 /sokol_args.h | |
| parent | 9c2cc4ba6cab68a4dad1691833c2d0dabe432908 (diff) | |
escape only on val
Diffstat (limited to 'sokol_args.h')
| -rw-r--r-- | sokol_args.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sokol_args.h b/sokol_args.h index e39b6f29..b532c90e 100644 --- a/sokol_args.h +++ b/sokol_args.h @@ -600,7 +600,7 @@ _SOKOL_PRIVATE bool _sargs_parse_carg(const char* src) { if (_sargs_in_escape()) { c = _sargs_escape(c); _sargs_end_escape(); - } else if (_sargs_is_escape(c)) { + } else if (_sargs_is_escape(c) && _sargs_parsing_val()) { _sargs_start_escape(); continue; } |