From 2c44bdaf858118b04ef044e46f258235bd35a64e Mon Sep 17 00:00:00 2001 From: H.G. Muller Date: Fri, 1 Feb 2013 19:29:26 +0100 Subject: [PATCH] Fix warning in WinBoard --- gtk/xoptions.c | 2 +- winboard/winboard.c | 1 - 2 files changed, 1 insertions(+), 2 deletions(-) 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; -- 1.7.0.4