COMCTL32: calculate the correct size of dialog templates in the propsheet
control
Mike McCormack
mike at codeweavers.com
Thu Aug 26 05:35:43 CDT 2004
ChangeLog:
* calculate the correct size of dialog templates in the propsheet control
-------------- next part --------------
Index: dlls/comctl32/propsheet.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/propsheet.c,v
retrieving revision 1.110
diff -u -r1.110 propsheet.c
--- dlls/comctl32/propsheet.c 25 Aug 2004 17:33:01 -0000 1.110
+++ dlls/comctl32/propsheet.c 26 Aug 2004 09:08:20 -0000
@@ -1376,7 +1376,7 @@
p += lstrlenW( (LPCWSTR)p ) + 1;
break;
}
- p += *p + 1; /* Skip extra data */
+ p += (*p)/sizeof(WORD) + 1; /* Skip extra data */
--nrofitems;
}
More information about the wine-patches
mailing list