projects
/
dana
/
urxvt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d924b78
)
*** empty log message ***
author
root
<root>
Sun, 29 Mar 2009 13:36:03 +0000
(13:36 +0000)
committer
root
<root>
Sun, 29 Mar 2009 13:36:03 +0000
(13:36 +0000)
src/rxvtfont.C
patch
|
blob
|
history
src/rxvtfont.h
patch
|
blob
|
history
src/screen.C
patch
|
blob
|
history
diff --git
a/src/rxvtfont.C
b/src/rxvtfont.C
index
a0d66ff
..
ad93c53
100644
(file)
--- a/
src/rxvtfont.C
+++ b/
src/rxvtfont.C
@@
-218,13
+218,13
@@
rxvt_font::rxvt_font ()
}
void
-rxvt_font::set_name (char *name)
+rxvt_font::set_name (char *name
_
)
{
- if (
this->name == name
)
+ if (
name == name_
)
return;
- if (
this->name) free (this->
name); // let the compiler optimize
-
this->name = name
;
+ if (
name) free (
name); // let the compiler optimize
+
name = name_
;
}
void
diff --git
a/src/rxvtfont.h
b/src/rxvtfont.h
index
ec286a3
..
79f1373
100644
(file)
--- a/
src/rxvtfont.h
+++ b/
src/rxvtfont.h
@@
-40,7
+40,7
@@
struct rxvt_font
int ascent, descent,
width, height;
- void set_name (char *name);
+ void set_name (char *name
_
);
rxvt_font ();
virtual ~rxvt_font () { free (name); };
diff --git
a/src/screen.C
b/src/screen.C
index
715e845
..
a4a14c5
100644
(file)
--- a/
src/screen.C
+++ b/
src/screen.C
@@
-2252,7
+2252,8
@@
rxvt_term::scr_refresh () NOTHROW
if (stp[col] == NOCHAR)
{
dtp[col] = stp[col];
- drp[col] = rend;
+ drp[col] = srp[col];
+
count++;
i++;