From 2e16c4f7a57a115b5c15f7c659b912163de886b3 Mon Sep 17 00:00:00 2001 From: Chaskiel M Grundman Date: Fri, 14 Mar 2003 20:29:34 +0000 Subject: [PATCH] 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 --- src/WINNT/afsd/afsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WINNT/afsd/afsd.c b/src/WINNT/afsd/afsd.c index a481f2e7d4..cbcea84536 100644 --- a/src/WINNT/afsd/afsd.c +++ b/src/WINNT/afsd/afsd.c @@ -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);