From 23152ae8a61ae9fd2829e886c07e52dc83ff3830 Mon Sep 17 00:00:00 2001 From: axel Date: Mon, 28 Aug 2006 20:58:06 +1000 Subject: Remove checks for gettext presense in mimedb.c and set_color.c. If gettext is unavailable, a fallback is provided. darcs-hash:20060828105806-ac50b-47f092813ed70a03477d66c377edbe24f2aedf40.gz --- set_color.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'set_color.c') diff --git a/set_color.c b/set_color.c index f65d2764..ab376a9d 100644 --- a/set_color.c +++ b/set_color.c @@ -56,11 +56,7 @@ */ #define GETOPT_STRING "b:hvocu" -#if HAVE_GETTEXT #define _(string) gettext(string) -#else -#define _(string) (string) -#endif char *col[]= { @@ -141,10 +137,8 @@ static void check_locale_init() is_init = 1; setlocale( LC_ALL, "" ); -#if HAVE_GETTEXT bindtextdomain( PACKAGE_NAME, LOCALEDIR ); textdomain( PACKAGE_NAME ); -#endif } -- cgit v1.2.3