Gerald Pfeifer a écrit :
Originally sent ten days ago; looks obvious to me?
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;
} return &mwi;mwi.sr_color = 0xFFFFFF;
}
fix is wrong the second should be nr_color instead of sr_color (hence the "double" assignment) A+