vaccinewars

be a doctor and try to vaccinate the world
git clone git://src.adamsgaard.dk/vaccinewars # fast
git clone https://src.adamsgaard.dk/vaccinewars.git # slow
Log | Files | Refs | README | LICENSE Back to index

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:
Msrc/gtkport/gtkport.c | 2+-
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;