changeset 574:70c8a30c254f

Fixed incorrect calling convention on the click default handler on OS/2.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 10 Feb 2005 00:38:55 +0000
parents 314abd650968
children e72f61a8f492
files os2/dw.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/os2/dw.c	Wed Feb 09 17:53:26 2005 +0000
+++ b/os2/dw.c	Thu Feb 10 00:38:55 2005 +0000
@@ -948,7 +948,7 @@
 
 unsigned long _os2_color(unsigned long color)
 {
-	return DW_RED_VALUE(color) << 16 | DW_GREEN_VALUE(color) << 8 | DW_BLUE_VALUE(color);;
+	return DW_RED_VALUE(color) << 16 | DW_GREEN_VALUE(color) << 8 | DW_BLUE_VALUE(color);
 }
 
 BOOL _MySetWindowPos(HWND hwnd, HWND parent, HWND behind, LONG x, LONG y, LONG cx, LONG cy, ULONG fl)
@@ -1563,7 +1563,7 @@
 		{
 			if(tmp->message == WM_COMMAND)
 			{
-				int (*clickfunc)(HWND, void *) = (int (*)(HWND, void *))tmp->signalfunction;
+				int (* API clickfunc)(HWND, void *) = (int (* API)(HWND, void *))tmp->signalfunction;
 
 				/* Make sure it's the right window, and the right ID */
 				if(tmp->window == handle)