From 88c58cb1b74a0314a9125f4c39ca82204ad32164 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Fri, 26 Aug 2011 16:11:18 +0200 Subject: [PATCH] core: remove warning at startup if locale is UTF-8 and if ncurses has no wide-char/UTF-8 support --- src/gui/curses/gui-curses-main.c | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/gui/curses/gui-curses-main.c b/src/gui/curses/gui-curses-main.c index 569a1bf26..c6f5750c3 100644 --- a/src/gui/curses/gui-curses-main.c +++ b/src/gui/curses/gui-curses-main.c @@ -171,27 +171,6 @@ gui_main_init () gui_bar_window_calculate_pos_size (ptr_bar_win, gui_windows); gui_bar_window_create_win (ptr_bar_win); } - - /* - * display a warning if locale is UTF-8 and if ncurses has no - * wide-char/UTF-8 support - */ -#ifndef NCURSES_WACS - if (local_utf8) - { - gui_chat_printf (NULL, - "***************************************************************"); - gui_chat_printf (NULL, - "%sWARNING: the locale is UTF-8 but ncurses " - "has no wide-char/UTF-8 support: either install " - "libncursesw and compile WeeChat with it or " - "check that ncurses was compiled with option " - "\"--enable-widec\"", - gui_chat_prefix[GUI_CHAT_PREFIX_ERROR]); - gui_chat_printf (NULL, - "***************************************************************"); - } -#endif } if (CONFIG_BOOLEAN(config_look_mouse))