mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
Fixed a problem when regedit interpreted file names, starting from '/'
as switches.
This commit is contained in:
parent
bcc6256bf0
commit
cff4a12bdf
1 changed files with 2 additions and 3 deletions
|
@ -138,9 +138,8 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
|||
break;
|
||||
}
|
||||
} else {
|
||||
printf("%s: Incorrect switch format, switch '%c'\n%s",
|
||||
getAppName(), chu, usage);
|
||||
exit(1);
|
||||
/* this is a file name, starting from '/' */
|
||||
s--;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue