wscript: Correctly use CommandLineToArgvW.

Thomas Faber thomas.faber at reactos.org
Sun Mar 29 03:58:49 CDT 2015


Fixes use of the wrong error path when no arguments are present
(i.e. cmdline is an empty string):
./wine wscript
fixme:wscript:wWinMain Could not find engine for L".exe"

now:
./wine wscript
fixme:wscript:wWinMain No file name specified

See http://blogs.msdn.com/b/oldnewthing/archive/2010/09/16/10062818.aspx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0022-wscript-Correctly-use-CommandLineToArgvW.patch
Type: text/x-diff
Size: 989 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150329/03bdcad5/attachment.patch>


More information about the wine-patches mailing list