From dd51bdbc51abec252ad5169d722a8b6faa53c1ac Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Wed, 20 Aug 2014 20:49:47 +0000 Subject: Removed some debug code. git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@392 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a --- ChangeLog | 5 +++++ src/glibext/gbuffersegment.c | 11 ----------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8e6da55..0362a19 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 14-08-20 Cyrille Bagard + * src/glibext/gbuffersegment.c: + Remove some debug code. + +14-08-20 Cyrille Bagard + * src/arch/instruction.c: Fix a bug by adding a missing 'return'. diff --git a/src/glibext/gbuffersegment.c b/src/glibext/gbuffersegment.c index ff32e3c..c96b092 100644 --- a/src/glibext/gbuffersegment.c +++ b/src/glibext/gbuffersegment.c @@ -145,19 +145,8 @@ static void g_buffer_segment_class_init(GBufferSegmentClass *class) cairo_text_extents(*cr, "A", &extents); class->x_advances[CAIRO_FONT_INDEX(s, w)] = extents.x_advance; - - printf("s=%d w=%d ==>> %g vs %g\n", s, w, - extents.x_advance, class->x_advances[CAIRO_FONT_INDEX(s, w)]); - - printf(" >> %d\n", CAIRO_FONT_INDEX(s, w)); - - - printf("[x] = %g [0] = %g\n", class->x_advances[CAIRO_FONT_INDEX(s, w)], class->x_advances[0]); - } - printf("class=%p [0]=%g\n", class, class->x_advances[0]); - g_free(filename); /* Propriétés d'impression */ -- cgit v0.11.2-87-g4458