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:
parent
32ccc940d3
commit
5b4f8a385b
@ -224,7 +224,8 @@ int wmain (int argc, WCHAR *argv[])
|
|||||||
* flags start with / and are case insensitive.
|
* flags start with / and are case insensitive.
|
||||||
*/
|
*/
|
||||||
for (i=1; i<argc; i++) {
|
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];
|
title = argv[i];
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user