"Eric Frias" <efrias(a)syncad.com> wrote:
> --- windows/dialog.c (.../vendor/wine/current) (revision 29312)
> +++ windows/dialog.c (.../branches/wine/2004.11.16-cvs-update) (revision 29312)
> @@ -378,8 +378,10 @@
> {
> const WORD *p = (const WORD *)template;
>
> - result->style = GET_DWORD(p); p += 2;
> - if (result->style == 0xffff0001) /* DIALOGEX resource */
> + WORD signature = GET_WORD(p); p++;
> + WORD dlgver = GET_WORD(p); p++;
This won't compile with older C compilers, you are mixing data declarations
with code.
--
Dmitry.