commit 1635582cb481dbb9ce966817bf8b91e64dee6216
parent 4ec665376d895450a20674e3c635e21c0203aeb3
Author: Ben Webb <ben@salilab.org>
Date: Fri, 11 Oct 2002 12:14:05 +0000
Fix for conversion error between unsigned and signed quantities, when
calculating the position of the update rectangle as a GtkPaned widget
is moved, under Win32.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gtkport/gtkport.c b/src/gtkport/gtkport.c
@@ -737,7 +737,7 @@ HWND gtk_get_parent_hwnd(GtkWidget *widget)
}
static void UpdatePanedGhostRect(GtkPaned *paned, RECT *OldRect,
- RECT *NewRect, gint x, gint y)
+ RECT *NewRect, gint16 x, gint16 y)
{
HWND hWnd, parent;
RECT rect, clrect;