summaryrefslogtreecommitdiffstats
path: root/PC/launcher2.c
diff options
context:
space:
mode:
Diffstat (limited to 'PC/launcher2.c')
-rw-r--r--PC/launcher2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/PC/launcher2.c b/PC/launcher2.c
index c8ed1b0..31b5617 100644
--- a/PC/launcher2.c
+++ b/PC/launcher2.c
@@ -580,6 +580,9 @@ parseCommandLine(SearchInfo *search)
break;
}
}
+ if (tail == search->originalCmdLine && tail[0] == L'"') {
+ ++tail;
+ }
// Without special cases, we can now fill in the search struct
int tailLen = (int)(end ? (end - tail) : wcsnlen_s(tail, MAXLEN));
search->executableLength = -1;