winapi_test chokes on TITLEBARINFO

Hans Leidekker hans at it.vu.nl
Tue Jan 20 09:23:13 CST 2004


On Tuesday 20 January 2004 14:09, Francois Gouget wrote:

> include/winuser.h: DWORD[CCHILDREN_TITLEBAR+1]: can't parse type
> ('DWORD') ('CCHILDREN_TITLEBAR+1')
> Can't use string ("4") as a SCALAR ref while "strict refs" in use at
> tools/winapi/c_type.pm line 283.

That code is mixing up the use of a variable holding a string
and a variable holding a reference. Put otherwise it forget's
to dereference a scalar ref (similar to a C pointer variable)
before using it. Patch below fixes it.

 -Hans

Changelog:
  Fix misuse of scalar reference variable.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: winapi_c_type_pm.diff
Type: text/x-diff
Size: 949 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20040120/a92beab6/winapi_c_type_pm.bin


More information about the wine-devel mailing list