shlexec - skip argument identifier
Alexandre Julliard
julliard at winehq.org
Wed Oct 13 19:50:45 CDT 2004
Vitaliy Margolen <wine-patch at kievinfo.com> writes:
> --- dlls/shell32/shlexec.c 14 Sep 2004 20:14:09 -0000 1.54
> +++ dlls/shell32/shlexec.c 13 Oct 2004 11:55:04 -0000
> @@ -94,7 +94,8 @@
> {
> if (*fmt == '%')
> {
> - switch (*++fmt)
> + fmt++;
> + switch (*fmt++)
> {
Incrementing fmt twice here is going to break the rest of the
function, you need to do that at the end.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list