str.c: New functions ds_put_c_vformat and ds_put_c_format
[pspp] / src / ui / syntax-gen.c
index d829d80a2bc7662274e98c5040c4cbf547b36e51..fe88e62913d776cbc83331dbda25e6e09a018855 100644 (file)
@@ -16,7 +16,7 @@
 
 #include <config.h>
 
-#include <ui/syntax-gen.h>
+#include "ui/syntax-gen.h"
 
 #include <ctype.h>
 #include <mbchar.h>
@@ -271,7 +271,7 @@ syntax_gen_pspp_valist (struct string *output, const char *format,
             switch (*format++)
               {
               case 'p':
-                ds_put_format (output, "%f", d);
+                ds_put_c_format (output, "%f", d);
                 break;
               default:
                 NOT_REACHED ();