ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/init.C
(Generate patch)

Comparing rxvt-unicode/src/init.C (file contents):
Revision 1.28 by pcg, Sat Feb 21 20:33:40 2004 UTC vs.
Revision 1.29 by pcg, Sat Feb 21 21:43:37 2004 UTC

806rxvt_term::set_locale (const char *locale) 806rxvt_term::set_locale (const char *locale)
807{ 807{
808#if HAVE_XSETLOCALE || HAVE_SETLOCALE 808#if HAVE_XSETLOCALE || HAVE_SETLOCALE
809 free (this->locale); 809 free (this->locale);
810 this->locale = rxvt_strdup (setlocale (LC_CTYPE, "")); 810 this->locale = rxvt_strdup (setlocale (LC_CTYPE, ""));
811 rxvt_set_locale (this->locale); 811 SET_LOCALE (this->locale);
812 mbstate.reset (); 812 mbstate.reset ();
813#endif 813#endif
814#if HAVE_NL_LANGINFO 814#if HAVE_NL_LANGINFO
815 free (codeset); 815 free (codeset);
816 codeset = strdup (nl_langinfo (CODESET)); 816 codeset = strdup (nl_langinfo (CODESET));

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines