On Wed, May 13, 2009 at 4:18 PM, Gerald Pfeifer gerald@pfeifer.com wrote:
Most straightforward, I hope. :-)
Gerald
ChangeLog: Avoid duplicate assignment in WINHELP_GetWindowInfo().
diff --git a/programs/winhlp32/winhelp.c b/programs/winhlp32/winhelp.c index 7f74d8b..d1980e5 100644 --- a/programs/winhlp32/winhelp.c +++ b/programs/winhlp32/winhelp.c @@ -278,7 +278,7 @@ HLPFILE_WINDOWINFO* WINHELP_GetWindowInfo(HLPFILE* hlpfile, LPCSTR name) mwi.origin.x = mwi.origin.y = mwi.size.cx = mwi.size.cy = CW_USEDEFAULT; mwi.style = SW_SHOW; mwi.win_style = WS_OVERLAPPEDWINDOW;
- mwi.sr_color = mwi.sr_color = 0xFFFFFF;
- mwi.sr_color = 0xFFFFFF;
} return &mwi; }
Maybe one of was intended to be nsr_color?