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