diff options
Diffstat (limited to 'xorg-server/fonts.src/font-util/bdftruncate.c')
-rw-r--r-- | xorg-server/fonts.src/font-util/bdftruncate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xorg-server/fonts.src/font-util/bdftruncate.c b/xorg-server/fonts.src/font-util/bdftruncate.c index 9bb204b31..a52730569 100644 --- a/xorg-server/fonts.src/font-util/bdftruncate.c +++ b/xorg-server/fonts.src/font-util/bdftruncate.c @@ -57,7 +57,7 @@ parse_threshold(const char *str) if (!isdigit((unsigned char)*str)) return 1; - if (str[0] == 0 && (str[1] == 'x' || str[1] == 'X')) + if (str[0] == '0' && (str[1] == 'x' || str[1] == 'X')) base = 16; else base = 10; @@ -140,7 +140,7 @@ main(int argc, char **argv) if (argc != 1 || (opt_plus_w && opt_minus_w)) usage(); if (parse_threshold(*argv)) { - fprintf(stderr, "Illegal threshold %s", *argv); + fprintf(stderr, "Illegal threshold %s\n", *argv); usage(); } |