From 5eb2a1e3d988eb36df9c62bb7a3e7512e9289338 Mon Sep 17 00:00:00 2001 From: ellson Date: Thu, 30 Dec 2004 04:10:32 +0000 Subject: [PATCH] remove debug fprintf --- lib/gvc/gvemit.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/gvc/gvemit.c b/lib/gvc/gvemit.c index a73dec992..c72dd370e 100644 --- a/lib/gvc/gvemit.c +++ b/lib/gvc/gvemit.c @@ -373,6 +373,8 @@ static void win_reconfigure_normal(win_t * win, unsigned int width, if (width > win->gvc->width || height > win->gvc->height) has_grown = 1; +/* Adjust focus to keep image fixed during window resizing */ +/* FIXME - causes FP error on size reduction */ // win->gvc->focus.x += ((double)(width - win->gvc->width)) // / (2. * win->gvc->zoom); // win->gvc->focus.y += -((double)(height - win->gvc->height)) @@ -570,5 +572,4 @@ void gvemit_graph(GVC_t * gvc, graph_t * g, int flags) else { emit_graph(gvc, g, flags); } -fprintf(stderr,"gvemit_graph\n"); } -- 2.50.0