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:
9e6983f
)
Simplify.
author
sf-exg
<sf-exg>
Sun, 28 Mar 2010 22:02:52 +0000
(22:02 +0000)
committer
sf-exg
<sf-exg>
Sun, 28 Mar 2010 22:02:52 +0000
(22:02 +0000)
src/rxvtfont.C
patch
|
blob
|
history
diff --git
a/src/rxvtfont.C
b/src/rxvtfont.C
index
a4dd1d6
..
af16b2f
100644
(file)
--- a/
src/rxvtfont.C
+++ b/
src/rxvtfont.C
@@
-1677,7
+1677,7
@@
rxvt_fontset::find_font (unicode_t unicode)
if (find_font (font) < 0)
{
char fontname[4096];
- s
printf (fontname, "xft:%-.4090
s", font);
+ s
nprintf (fontname, sizeof (fontname), "xft:%
s", font);
fonts.push_back (new_font (fontname, CS_UNICODE));
}