[poppler] glib/demo

Carlos Garcia Campos carlosgc at kemper.freedesktop.org
Sun Feb 1 01:37:58 PST 2009


 glib/demo/page.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0ed3fd52bb2d3375ed302285b18f076721b8028e
Author: Carlos Garcia Campos <carlosgc at gnome.org>
Date:   Sun Feb 1 10:37:25 2009 +0100

    [glib-demo] Fix a typo in format string

diff --git a/glib/demo/page.c b/glib/demo/page.c
index c029b27..ee034f0 100644
--- a/glib/demo/page.c
+++ b/glib/demo/page.c
@@ -148,7 +148,7 @@ pgd_page_set_page (PgdPageDemo *demo,
 		gdouble width, height;
 
 		poppler_page_get_size (page, &width, &height);
-		str = g_strdup_printf ("%.f2 x %.f2", width, height);
+		str = g_strdup_printf ("%.2f x %.2f", width, height);
 		gtk_label_set_text (GTK_LABEL (demo->size), str);
 		g_free (str);
 	} else {


More information about the poppler mailing list