mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 13:26:38 +02:00
Fixed terminal encoding detection when NLS is disabled (bug #20646)
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
ChangeLog - 2007-07-19
|
||||
ChangeLog - 2007-08-01
|
||||
|
||||
|
||||
Version 0.2.6 (under dev!):
|
||||
* fixed terminal encoding detection when NLS is disabled (bug #20646)
|
||||
* fixed crash when sending data to channel or pv on disconnected server
|
||||
(bug #20524)
|
||||
* improved command /server ant its output
|
||||
|
||||
@@ -817,8 +817,8 @@ weechat_sigsegv ()
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
#ifdef ENABLE_NLS
|
||||
setlocale (LC_ALL, ""); /* initialize gettext */
|
||||
#ifdef ENABLE_NLS
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
bind_textdomain_codeset (PACKAGE, "UTF-8");
|
||||
textdomain (PACKAGE);
|
||||
|
||||
@@ -31,8 +31,9 @@
|
||||
#include <gnutls/gnutls.h>
|
||||
#endif
|
||||
|
||||
#include <locale.h>
|
||||
|
||||
#if defined(ENABLE_NLS) && !defined(_)
|
||||
#include <locale.h>
|
||||
#ifdef HAVE_LIBINTL_H
|
||||
#include <libintl.h>
|
||||
#else
|
||||
|
||||
+2
-1
@@ -1,10 +1,11 @@
|
||||
WeeChat - Wee Enhanced Environment for Chat
|
||||
===========================================
|
||||
|
||||
ChangeLog - 2007-07-19
|
||||
ChangeLog - 2007-08-01
|
||||
|
||||
|
||||
Version 0.2.6 (under dev!):
|
||||
* fixed terminal encoding detection when NLS is disabled (bug #20646)
|
||||
* fixed crash when sending data to channel or pv on disconnected server
|
||||
(bug #20524)
|
||||
* improved command /server ant its output
|
||||
|
||||
@@ -817,8 +817,8 @@ weechat_sigsegv ()
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
#ifdef ENABLE_NLS
|
||||
setlocale (LC_ALL, ""); /* initialize gettext */
|
||||
#ifdef ENABLE_NLS
|
||||
bindtextdomain (PACKAGE, LOCALEDIR);
|
||||
bind_textdomain_codeset (PACKAGE, "UTF-8");
|
||||
textdomain (PACKAGE);
|
||||
|
||||
@@ -31,8 +31,9 @@
|
||||
#include <gnutls/gnutls.h>
|
||||
#endif
|
||||
|
||||
#include <locale.h>
|
||||
|
||||
#if defined(ENABLE_NLS) && !defined(_)
|
||||
#include <locale.h>
|
||||
#ifdef HAVE_LIBINTL_H
|
||||
#include <libintl.h>
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user