Bas Weelinck : start: Ignore multiple quoted arguments as title.
Alexandre Julliard
julliard at winehq.org
Tue Jan 2 15:01:28 CST 2018
Module: wine
Branch: stable
Commit: 43b7c3d73d9e7b8995d99a4901de76844c68773a
URL: https://source.winehq.org/git/wine.git/?a=commit;h=43b7c3d73d9e7b8995d99a4901de76844c68773a
Author: Bas Weelinck <bas.weelinck at gmail.com>
Date: Mon Mar 20 18:14:19 2017 +0100
start: Ignore multiple quoted arguments as title.
Signed-off-by: Bas Weelinck <bas.weelinck at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 5b4f8a385b46a8a8a8b09b8ca6578aa7b7995a1e)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
programs/start/start.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/programs/start/start.c b/programs/start/start.c
index 9f2c3f7..4010bef 100644
--- a/programs/start/start.c
+++ b/programs/start/start.c
@@ -224,7 +224,8 @@ int wmain (int argc, WCHAR *argv[])
* flags start with / and are case insensitive.
*/
for (i=1; i<argc; i++) {
- if (argv[i][0] == '"') {
+ /* parse first quoted argument as console title */
+ if (!title && argv[i][0] == '"') {
title = argv[i];
continue;
}
More information about the wine-cvs
mailing list