Kirill K. Smirnov : winhelp: Window style has not been initialized.

Alexandre Julliard julliard at wine.codeweavers.com
Sat Oct 14 14:13:22 CDT 2006


Module: wine
Branch: master
Commit: 9a86eacdc95279e233139e9402d7ac0c64aaa451
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9a86eacdc95279e233139e9402d7ac0c64aaa451

Author: Kirill K. Smirnov <lich at math.spbu.ru>
Date:   Fri Oct 13 18:47:22 2006 +0400

winhelp: Window style has not been initialized.

---

 programs/winhelp/hlpfile.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/programs/winhelp/hlpfile.c b/programs/winhelp/hlpfile.c
index 4d3c458..2e64270 100644
--- a/programs/winhelp/hlpfile.c
+++ b/programs/winhelp/hlpfile.c
@@ -1429,6 +1429,7 @@ static BOOL HLPFILE_SystemCommands(HLPFI
                 wi->size.cx = (flags & 0x0020) ? GET_USHORT(ptr, 80) : CW_USEDEFAULT;
                 wi->size.cy = (flags & 0x0040) ? GET_USHORT(ptr, 82) : CW_USEDEFAULT;
                 wi->style = (flags & 0x0080) ? GET_USHORT(ptr, 84) : SW_SHOW;
+                wi->win_style = WS_OVERLAPPEDWINDOW;
                 wi->sr_color = (flags & 0x0100) ? GET_UINT(ptr, 86) : 0xFFFFFF;
                 wi->nsr_color = (flags & 0x0200) ? GET_UINT(ptr, 90) : 0xFFFFFF;
                 WINE_TRACE("System-Window: flags=%c%c%c%c%c%c%c%c type=%s name=%s caption=%s (%d,%d)x(%d,%d)\n",




More information about the wine-cvs mailing list