aboutsummaryrefslogtreecommitdiffhomepage
path: root/set_color.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-08-28 20:58:06 +1000
committerGravatar axel <axel@liljencrantz.se>2006-08-28 20:58:06 +1000
commit23152ae8a61ae9fd2829e886c07e52dc83ff3830 (patch)
tree8b1b8f7564d386eccd65a9dfc21acc6c06cfb046 /set_color.c
parent7310596dabe7eb81c9e55c64524537a03dcfad6f (diff)
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
Diffstat (limited to 'set_color.c')
-rw-r--r--set_color.c6
1 files changed, 0 insertions, 6 deletions
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
}