wordpad: Use smaller cbSize for REBARBANDINFOW for compatibility.
authorDylan Smith <dylan.ah.smith@gmail.com>
Sat, 15 Aug 2009 02:23:21 +0000 (22:23 -0400)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 17 Aug 2009 11:57:50 +0000 (13:57 +0200)
commit19c6edd497480feb99080ec1c8703ba875af0a6d
tree7e3e2dd18e9406cc6d82acb3366140257edae7cc
parenta8e58307f91aa4515cf0d4bebb2d875b95e22bc8
wordpad: Use smaller cbSize for REBARBANDINFOW for compatibility.

The cbSize field for the REBARBANDINFOW structure was previously set to
the sizeof(REBARBANDINFOW), however, new fields were added to this
structure for newer version of windows.  Testing in Windows XP (or with
comctl32.dll from Windows XP) I found this larger size was rejected
causing the rebar to not be displayed in wordpad.
programs/wordpad/print.c
programs/wordpad/wordpad.c