[poppler] poppler/glib: poppler-document.cc,1.9,1.10

Jonathan Blandford jrb at freedesktop.org
Tue Apr 19 14:22:28 PDT 2005


Update of /cvs/poppler/poppler/glib
In directory gabe:/tmp/cvs-serv23691/glib

Modified Files:
	poppler-document.cc 
Log Message:
Tue Apr 19 17:21:19 2005  Jonathan Blandford  <jrb at redhat.com>

        * glib/poppler-document.cc (poppler_document_get_property): Use
        %.2g instead.



Index: poppler-document.cc
===================================================================
RCS file: /cvs/poppler/poppler/glib/poppler-document.cc,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- poppler-document.cc	19 Apr 2005 21:13:22 -0000	1.9
+++ poppler-document.cc	19 Apr 2005 21:22:26 -0000	1.10
@@ -293,7 +293,7 @@
 	info_dict_get_string (obj.getDict(), "Title", value);
       break;
     case PROP_FORMAT:
-      str = g_strdup_printf ("PDF-%1g", document->doc->getPDFVersion ());
+      str = g_strdup_printf ("PDF-%.2g", document->doc->getPDFVersion ());
       g_value_take_string (value, str);
       break;
     case PROP_AUTHOR:



More information about the poppler mailing list