From 12d21175b5de3c615effa9acf1ffeded9a7bdbf8 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Tue, 29 Dec 2009 15:50:58 -0800 Subject: [PATCH] small bugfix in matrix printer --- lib/gfxtools.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gfxtools.c b/lib/gfxtools.c index 36c9508..7772273 100644 --- a/lib/gfxtools.c +++ b/lib/gfxtools.c @@ -728,8 +728,8 @@ void gfxline_transform(gfxline_t*line, gfxmatrix_t*matrix) void gfxmatrix_dump(gfxmatrix_t*m, FILE*fi, char*prefix) { - fprintf(fi, "%f %f | %f\n", m->m00, m->m10, m->tx); - fprintf(fi, "%f %f | %f\n", m->m01, m->m11, m->ty); + fprintf(fi, "%s%f %f | %f\n", prefix, m->m00, m->m10, m->tx); + fprintf(fi, "%s%f %f | %f\n", prefix, m->m01, m->m11, m->ty); } void gfxmatrix_transform(gfxmatrix_t*m, double* v, double*dest) -- 1.7.10.4