[PATCH 10/11] wscript: implemented Host_get_Interactive

Jacek Caban jacek at codeweavers.com
Fri Jul 15 07:24:15 CDT 2011


Hi Michał,

On 07/15/11 03:22, Michał Ziętek wrote:
> ---
>  programs/wscript/host.c    |    7 +++++--
>  programs/wscript/main.c    |   26 +++++++++++++++++++++++++-
>  programs/wscript/wscript.h |    2 ++
>  3 files changed, 32 insertions(+), 3 deletions(-)
>

+static const WCHAR* get_arg_beginning(const WCHAR* arg)
+{
+    const WCHAR *beg = arg;
+    while(*beg == '/' || *beg == '-') {
+        ++beg;
+    }
+    return beg;
+}

This won't do what you want it to.

Jacek




More information about the wine-devel mailing list