--- rxvt-unicode/src/rxvtfont.C 2007/10/22 07:36:51 1.120 +++ rxvt-unicode/src/rxvtfont.C 2007/10/28 11:25:04 1.121 @@ -514,7 +514,7 @@ if (XGetFontProperty (f, property, &value)) return XGetAtomName (term->dpy, value); else - return rxvt_strdup (repl); + return repl ? strdup (repl) : 0; } rxvt_fontprop