From c468448d0300fba4d49853eb8795050f424d0ed7 Mon Sep 17 00:00:00 2001 From: pcg Date: Sat, 21 Feb 2004 21:43:37 +0000 Subject: [PATCH] *** empty log message *** --- src/init.C | 2 +- src/main.C | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/init.C b/src/init.C index 20d4490d..b5011f98 100644 --- a/src/init.C +++ b/src/init.C @@ -808,7 +808,7 @@ rxvt_term::set_locale (const char *locale) #if HAVE_XSETLOCALE || HAVE_SETLOCALE free (this->locale); this->locale = rxvt_strdup (setlocale (LC_CTYPE, "")); - rxvt_set_locale (this->locale); + SET_LOCALE (this->locale); mbstate.reset (); #endif #if HAVE_NL_LANGINFO diff --git a/src/main.C b/src/main.C index 5fc4aeda..16542f06 100644 --- a/src/main.C +++ b/src/main.C @@ -267,7 +267,7 @@ rxvt_term::init (int argc, const char *const *argv) Gr_reset (); /* reset graphics */ #endif -#if 1 +#if 0 XSynchronize (display->display, True); #endif @@ -1316,7 +1316,7 @@ rxvt_term::im_cb () #if defined(HAVE_XSETLOCALE) || defined(HAVE_SETLOCALE) if (rs[Rs_imLocale]) - rxvt_set_locale (rs[Rs_imLocale]); + SET_LOCALE (rs[Rs_imLocale]); #endif p = rs[Rs_inputMethod]; @@ -1357,7 +1357,7 @@ rxvt_term::im_cb () done: #if defined(HAVE_XSETLOCALE) || defined(HAVE_SETLOCALE) if (rs[Rs_imLocale]) - rxvt_set_locale (locale); + SET_LOCALE (locale); #endif } -- 2.34.1