X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=lib%2Fprint-copyr.c;h=2b6a13ecf7cae77998e2114162c142de5acbdee3;hb=7287be445eec13d1c0a5c17136f56d8d9c9c3786;hp=6abaccf64e46a4e6866855efd123132c8df2dd72;hpb=4b5d60ef385197e76a2dc6122401e2a13e177f52;p=chaz%2Ftar diff --git a/lib/print-copyr.c b/lib/print-copyr.c index 6abaccf..2b6a13e 100644 --- a/lib/print-copyr.c +++ b/lib/print-copyr.c @@ -21,11 +21,16 @@ # include #endif -#include "unicodeio.h" #include "print-copyr.h" - #include +#if ENABLE_NLS +# include "unicodeio.h" +#else +# define unicode_to_mb(code, callback, error_callback, callback_arg) \ + error_callback (code, callback_arg) +#endif + #define COPYRIGHT_SIGN 0x00A9 /* Print "(C)". */ @@ -45,7 +50,7 @@ void print_copyright (char const *notice) { fputs ("Copyright ", stdout); - unicode_to_mb (COPYRIGHT_SIGN, print_unicode_success, print_parenthesized_c, + unicode_to_mb (COPYRIGHT_SIGN, print_unicode_char, print_parenthesized_c, stdout); fputc (' ', stdout); puts (notice);