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

Comparing rxvt-unicode/src/main.C (file contents):
Revision 1.170 by root, Wed Jan 11 00:59:58 2006 UTC vs.
Revision 1.171 by root, Wed Jan 11 03:13:26 2006 UTC

479/*----------------------------------------------------------------------*/ 479/*----------------------------------------------------------------------*/
480bool 480bool
481rxvt_term::init (int argc, const char *const *argv) 481rxvt_term::init (int argc, const char *const *argv)
482{ 482{
483 SET_R (this); 483 SET_R (this);
484 TEMP_ENV; // few things in X do not call setlocale :(
484 485
485 set_locale (""); 486 set_locale ("");
486 487
487 if (!init_vars ()) 488 if (!init_vars ())
488 return false; 489 return false;
533 534
534 dDisp; 535 dDisp;
535 536
536 init_xlocale (); 537 init_xlocale ();
537 538
538 scr_reset (); /* initialize screen */ 539 scr_reset (); // initialize screen
539 540
540#if 0 541#if 0
541 XSynchronize (disp, True); 542 XSynchronize (disp, True);
542#endif 543#endif
543 544
1446 unsigned long fg, bg; 1447 unsigned long fg, bg;
1447 const char *p; 1448 const char *p;
1448 char **s; 1449 char **s;
1449 XIMStyles *xim_styles; 1450 XIMStyles *xim_styles;
1450 1451
1452 TEMP_ENV;
1453
1451 if (! ((p = XSetLocaleModifiers (modifiers)) && *p)) 1454 if (! ((p = XSetLocaleModifiers (modifiers)) && *p))
1452 return false; 1455 return false;
1453 1456
1454 D_MAIN ((stderr, "rxvt_IM_get_IC ()")); 1457 D_MAIN ((stderr, "rxvt_IM_get_IC ()"));
1455 input_method = display->get_xim (locale, modifiers); 1458 input_method = display->get_xim (locale, modifiers);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines