blob: 970be019d79e2ff1bcce713c62378d6549f7743e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -aur rxvt-unicode-2.2-orig/src/defaultfont.h rxvt-unicode-2.2/src/defaultfont.h
--- rxvt-unicode-2.2-orig/src/defaultfont.h 2004-03-05 17:03:38.000000000 -0500
+++ rxvt-unicode-2.2/src/defaultfont.h 2004-03-11 11:49:30.658286008 -0500
@@ -74,7 +74,7 @@
void set_name (char *name)
{
if (this->name) free (this->name); // let the compiler optimize
- this->name = name;
+ this->name = strdup(name);
}
rxvt_font () { name = 0; }
|