repo: rxvt-unicode-sixel action: commit revision: path_from: revision_from: dbd938be48d7e7ff48e4a14bda3b246db2e417c7: path_to: revision_to:
commit dbd938be48d7e7ff48e4a14bda3b246db2e417c7 Author: Marc LehmannDate: Sun May 23 00:37:19 2010 +0000 *** empty log message *** diff --git a/Changes b/Changes
--- 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
--- 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
--- 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-----