STABLE12-winnt-afsd-initialize-rect-20030314

FIXES 1333

rect is used uninitialized, I'm pretty sure they really meant to
refer to main_rect.top, not rect.top
This commit is contained in:
Chaskiel M Grundman 2003-03-14 20:29:34 +00:00 committed by Derrick Brashear
parent d6f8c0fbe2
commit 2e16c4f7a5

View File

@ -148,7 +148,7 @@ BOOL InitInstance(
main_rect.right = GetDeviceCaps(hDC, HORZRES);
main_rect.top = GetDeviceCaps(hDC, LOGPIXELSY) / 4; /* 1/4 inch */
ReleaseDC(hWnd, hDC);
main_rect.bottom = rect.top + nLineHeight;
main_rect.bottom = main_rect.top + nLineHeight;
osi_InitPanic(afsd_notifier);