mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
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:
parent
d6f8c0fbe2
commit
2e16c4f7a5
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user