From ffe30a626b4b0ede1826ad3f2d44b5374ba15373 Mon Sep 17 00:00:00 2001 From: Simon Lindholm Date: Sun, 31 Jul 2022 13:17:14 +0200 Subject: [PATCH] Fix cmdline backslash escaping --- main.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cpp b/main.cpp index 42ac62d..a7a4e27 100644 --- a/main.cpp +++ b/main.cpp @@ -196,6 +196,7 @@ int main(int argc, char **argv) { if (c == '\0' || c == '"') cmdLine += '\\'; } + backslashes = 0; if (c == '\0') break;