diff options
Diffstat (limited to 'mkfontscale.c')
-rw-r--r-- | mkfontscale.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mkfontscale.c b/mkfontscale.c index eca8a1b..c2e1255 100644 --- a/mkfontscale.c +++ b/mkfontscale.c @@ -152,8 +152,9 @@ main(int argc, char **argv) exit(1); } if(prefix[strlen(prefix) - 1] != '/') - strcat(prefix, "/"); - encodingPrefix = dsprintf("%s", prefix); + encodingPrefix = dsprintf("%s/", prefix); + else + encodingPrefix = dsprintf("%s", prefix); outfilename = NULL; |