1. TakUnity
  2. chg

Commits

TakUnity  committed c50e247

Doublequote --config arguments.

  • Participants
  • Parent commits b76a3b1
  • Branches default

Comments (0)

Files changed (1)

File src/chg.c

View file
     for (int i=0; i<argc-1; ++i) {
         if (0 == strcmp ("--config", argv[i])) {
             strncat (opts, argv[i], actualsize);
-            strncat (opts, " ", actualsize);
+            strncat (opts, " \"", actualsize);
             strncat (opts, argv[i+1], actualsize);
-            strncat (opts, " ", actualsize);
+            strncat (opts, "\" ", actualsize);
             found = 1;
         }
     }