[PATCH 01/11] wscript: fixed running script from outside its directory (resend)

Alexandre Julliard julliard at winehq.org
Mon Jul 18 04:42:14 CDT 2011


Michał Ziętek <smierc.w.wenecji at gmail.com> writes:

> @@ -347,7 +347,7 @@ int WINAPI wWinMain(HINSTANCE hInst, HINSTANCE hPrevInst, LPWSTR cmdline, int cm
>          return 1;
>      }
>  
> -    ext = strchrW(filename, '.');
> +    ext = strrchrW(filename, '.');

That's not much better.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list