about summary refs log tree commit diff
path: root/converter/ppm/ppmtompeg/specifics.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/ppm/ppmtompeg/specifics.c')
-rw-r--r--converter/ppm/ppmtompeg/specifics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/ppm/ppmtompeg/specifics.c b/converter/ppm/ppmtompeg/specifics.c
index c8d91b35..bd74e805 100644
--- a/converter/ppm/ppmtompeg/specifics.c
+++ b/converter/ppm/ppmtompeg/specifics.c
@@ -168,7 +168,7 @@ Specifics_Init() {
 
     {
         const char * command;
-        pm_asprintf(&command, "cpp -P %s %s -o %s",
+        pm_asprintf(&command, "cpp -P %s '%s' -o '%s'",
                     specificsDefines, specificsFile, preprocessedFileNm);
         pm_system(NULL, NULL, NULL, NULL, command);
         pm_strfree(command);