diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/fe-settings.c | 2 | ||||
-rw-r--r-- | src/nls.h | 9 | ||||
-rw-r--r-- | src/perl/Makefile.am | 1 |
3 files changed, 2 insertions, 10 deletions
diff --git a/src/fe-common/core/fe-settings.c b/src/fe-common/core/fe-settings.c index 0af8451f..8bb09a72 100644 --- a/src/fe-common/core/fe-settings.c +++ b/src/fe-common/core/fe-settings.c @@ -256,7 +256,7 @@ static void settings_save_fe(const char *fname) static void settings_save_confirm(const char *line, char *fname) { - if (regexp_match(line, nl_langinfo(YESEXPR))) + if (g_strncasecmp(line, _("Y"), 1) == 0) settings_save_fe(fname); g_free(fname); } @@ -12,15 +12,6 @@ # else # define N_(String) (String) # endif - -# ifdef HAVE_LANGINFO_H -# include <langinfo.h> -# else -# define nl_langinfo(x) x -# endif -# ifndef YESEXPR -# define YESEXPR "^[yY]" -# endif #else /* Stubs that do something close enough. */ # define textdomain(String) (String) diff --git a/src/perl/Makefile.am b/src/perl/Makefile.am index 775ccff9..33b97304 100644 --- a/src/perl/Makefile.am +++ b/src/perl/Makefile.am @@ -51,6 +51,7 @@ CORE_SOURCES = \ common/Rawlog.xs \ common/Server.xs \ common/Settings.xs \ + common/Themes.xs \ common/Window.xs \ common/Irssi.xs \ common/Irssi.pm \ |