repo: rxvt-unicode-sixel
action: commit
revision: 
path_from: 
revision_from: dbd938be48d7e7ff48e4a14bda3b246db2e417c7:
path_to: 
revision_to: 
git.thebackupbox.net
rxvt-unicode-sixel
git clone git://git.thebackupbox.net/rxvt-unicode-sixel
commit dbd938be48d7e7ff48e4a14bda3b246db2e417c7
Author: Marc Lehmann 
Date:   Sun May 23 00:37:19 2010 +0000

    *** empty log message ***

diff --git a/Changes b/Changes
index c157088dc8c4eba95a5a86ce96bbf7768e27d373..
index ..4ec3ddd366297d0f5d9ea55616104e6684af91c3 100644
--- a/Changes
+++ b/Changes
@@ -21,7 +21,6 @@ DUMB: support tex fonts
 TODO: perl-shell-window?
 TODO:        - upgrade to libev-4.00.

-TODO: make fontCount dependent on ENABLE_256... in an INTELLIGENT way
 TODO: --enable-256c documentation
 	- make OSC 17 / 19 apply to highlightColor / highlightTextColor.
 	- remove deprecated OSC 18 / 19.
diff --git a/src/command.C b/src/command.C
index 85f27d5c0dfef4538bece5ba30c3dda684be36c4..
index ..99af67efe336d992a909b2c3d8bc03e86bf2c3fc 100644
--- a/src/command.C
+++ b/src/command.C
@@ -3233,13 +3233,12 @@ rxvt_term::get_to_st (unicode_t &ends_how)
 void
 rxvt_term::process_dcs_seq ()
 {
-  char *s;
-  unicode_t eh;
-
   /*
    * Not handled yet
    */
-  s = get_to_st (eh);
+
+  unicode_t eh;
+  char *s = get_to_st (eh);
   if (s)
     free (s);

@@ -3253,15 +3252,15 @@ rxvt_term::process_dcs_seq ()
 void
 rxvt_term::process_osc_seq ()
 {
-  unicode_t ch, eh;
   int arg;

-  ch = cmd_getc ();
+  unicode_t ch = cmd_getc ();
   for (arg = 0; isdigit (ch); ch = cmd_getc ())
     arg = arg * 10 + (ch - '0');

   if (ch == ';')
     {
+      unicode_t eh;
       char *s = get_to_st (eh);

       if (s)
@@ -3584,6 +3583,7 @@ rxvt_term::privcases (int mode, unsigned long bit)
         state = (SavedModes & bit) ? 1 : 0;	/* no overlapping */
       else
         state = (mode == 't') ? ! (priv_modes & bit) : mode;
+
       set_privmode (bit, state);
     }

diff --git a/src/rxvt.h b/src/rxvt.h
index 80dc012eb4d03edbc5be86e29afbd31d51f9b049..
index ..9a3c1c83722e06007d484d1a17324b4d7eb5ebd0 100644
--- a/src/rxvt.h
+++ b/src/rxvt.h
@@ -617,6 +617,8 @@ typedef struct _mwmhints
  * MACRO DEFINES
  *****************************************************************************
  */
+
+// speed hack, copy some member variable into a local variable of the same name
 #define dLocal(type,name)       type const name = this->name

 // for speed reasons, we assume that all codepoints 32 to 126 are

-----END OF PAGE-----