regedit: Fix concat handling for ANSI files

Alexandre Julliard julliard at winehq.org
Tue Aug 26 04:34:04 CDT 2008


Alexander Nicolaysen Sørnes <alex at thehandofagony.com> writes:

> +                do
> +                {
> +                    *s = fgetc(in);
> +                } while(*s == ' ' || *s == '\t');
> +
> +                if(*s == EOF)
>                      fprintf(stderr,"%s: ERROR - invalid continuation.\n",
>                              getAppName());

You can't do that, EOF is an int not a char.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list