diff os2/dw.c @ 24:d9e87e8bcf1d

Updated dynamic windows to build with EMX.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 17 Aug 2001 11:44:05 +0000
parents 2932f9d2c7d5
children b1d7e8a28dfa
line wrap: on
line diff
--- a/os2/dw.c	Sat Aug 04 19:36:21 2001 +0000
+++ b/os2/dw.c	Fri Aug 17 11:44:05 2001 +0000
@@ -1096,7 +1096,7 @@
 			GpiSetColor(hpsPaint, CLR_PALEGRAY);
 
 			ptl.x = 0;
-			ptl.y = 99;
+			ptl.y = 0;
 			GpiMove(hpsPaint, &ptl);
 
 			ptl.x = width;
@@ -1210,7 +1210,7 @@
 
 					if(hWnd == tmp->window || WinWindowFromID(tmp->window, FID_CLIENT) == hWnd || WinQueryCapture(HWND_DESKTOP) == tmp->window)
 					{
-						int button;
+						int button = 0;
 
 						switch(origmsg)
 						{
@@ -1237,7 +1237,7 @@
 
 					if(hWnd == tmp->window || WinWindowFromID(tmp->window, FID_CLIENT) == hWnd || WinQueryCapture(HWND_DESKTOP) == tmp->window)
 					{
-						int button;
+						int button = 0;
 
 						switch(origmsg)
 						{