From: H.G. Muller Date: Fri, 1 Feb 2013 18:29:26 +0000 (+0100) Subject: Fix warning in WinBoard X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=2c44bdaf858118b04ef044e46f258235bd35a64e;hp=a944d7681f5c000551235be7c2257a31e27b75e9;p=xboard.git Fix warning in WinBoard --- diff --git a/gtk/xoptions.c b/gtk/xoptions.c index c108c1b..defdfa4 100644 --- a/gtk/xoptions.c +++ b/gtk/xoptions.c @@ -786,7 +786,7 @@ GraphEventProc(GtkWidget *widget, GdkEvent *event, gpointer gdata) /* Get window size */ gtk_widget_get_allocation(widget, &a); w = a.width; h = a.height; -//printf("expose %dx%d @ (%d,%d)\n", w, h, a.x, a.y); +//printf("expose %dx%d @ (%d,%d): %dx%d @(%d,%d)\n", w, h, a.x, a.y, eevent->area.width, eevent->area.height, eevent->area.x, eevent->area.y); #ifdef TODO_GTK j = 0; XtSetArg(args[j], XtNwidth, &w); j++; diff --git a/winboard/winboard.c b/winboard/winboard.c index 5249c92..1b6297e 100644 --- a/winboard/winboard.c +++ b/winboard/winboard.c @@ -4679,7 +4679,6 @@ WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) FILE *f; UINT number; char fileTitle[MSG_SIZ]; - char buf[MSG_SIZ]; static SnapData sd; static int peek=0;