diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -112,13 +112,13 @@ main(int argc, char **argv) break; case 't': if (argv[i][2] != '\0') - template = b_strndup(argv[i] + 2, strlen(argv[i]) - 2); + template = b_strdup(argv[i] + 2); else if (i + 1 < argc) template = b_strdup(argv[++i]); break; case 'o': if (argv[i][2] != '\0') - output = b_strndup(argv[i] + 2, strlen(argv[i]) - 2); + output = b_strdup(argv[i] + 2); else if (i + 1 < argc) output = b_strdup(argv[++i]); break; |