From: root Date: Wed, 11 Jan 2006 03:13:26 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=b6a7243fb3a3a7fe6aae7438e6901b669de734d4;p=dana%2Furxvt.git *** empty log message *** --- diff --git a/src/command.C b/src/command.C index 8011f828..2641c224 100644 --- a/src/command.C +++ b/src/command.C @@ -987,17 +987,15 @@ rxvt_term::flush () do { - l = &ROW (row); + l = &ROW (row++); - if (l->f & LINE_FILTERED) - row++; - else + if (!(l->f & LINE_FILTERED)) { // line not filtered, mark it as filtered l->f |= LINE_FILTERED; while (l->is_longer ()) { - l = &ROW (++row); + l = &ROW (row++); l->f |= LINE_FILTERED; } @@ -1009,7 +1007,7 @@ rxvt_term::flush () } while (l->is_longer () && row < end_row); } - while (++row < end_row); + while (row < end_row); } scr_refresh (refresh_type); diff --git a/src/init.C b/src/init.C index 134734d4..3d810ffe 100644 --- a/src/init.C +++ b/src/init.C @@ -351,9 +351,10 @@ rxvt_term::init_resources (int argc, const char *const *argv) if (!(display = displays.get (rs[Rs_display_name]))) rxvt_fatal ("can't open display %s, aborting.\n", rs[Rs_display_name]); + + extract_resources (); } - extract_resources (); free (r_argv); /* diff --git a/src/main.C b/src/main.C index e148576c..5d55faa1 100644 --- a/src/main.C +++ b/src/main.C @@ -481,6 +481,7 @@ bool rxvt_term::init (int argc, const char *const *argv) { SET_R (this); + TEMP_ENV; // few things in X do not call setlocale :( set_locale (""); @@ -535,7 +536,7 @@ rxvt_term::init (int argc, const char *const *argv) init_xlocale (); - scr_reset (); /* initialize screen */ + scr_reset (); // initialize screen #if 0 XSynchronize (disp, True); @@ -1448,6 +1449,8 @@ rxvt_term::IM_get_IC (const char *modifiers) char **s; XIMStyles *xim_styles; + TEMP_ENV; + if (! ((p = XSetLocaleModifiers (modifiers)) && *p)) return false;