start: Ignore multiple quoted arguments as title.

Signed-off-by: Bas Weelinck <bas.weelinck@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Bas Weelinck 2017-03-20 18:14:19 +01:00 committed by Alexandre Julliard
parent 32ccc940d3
commit 5b4f8a385b
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}