Fix parsing of some more .tlo files.
[pspp] / src / output / options.c
index 4a066de372075180eb55b408696532f0a1136da3..43a0f1c0b895ca3aa16f93699703d298d0a3656e 100644 (file)
@@ -288,7 +288,7 @@ default_chart_file_name (const char *file_name)
     {
       const char *extension = strrchr (file_name, '.');
       int stem_length = extension ? extension - file_name : strlen (file_name);
-      return xasprintf ("%.*s-#.png", stem_length, file_name);
+      return xasprintf ("%.*s-#", stem_length, file_name);
     }
   else
     return NULL;