projects
/
suckless
/
dmenu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1026eb8
)
enforcing using imcomplete fonsets anyways
author
arg@mig29
<unknown>
Tue, 5 Dec 2006 09:31:20 +0000
(10:31 +0100)
committer
arg@mig29
<unknown>
Tue, 5 Dec 2006 09:31:20 +0000
(10:31 +0100)
config.mk
patch
|
blob
|
history
draw.c
patch
|
blob
|
history
diff --git
a/config.mk
b/config.mk
index b211c071de4d9446f8804b18b1e3fd724288fe03..280a0346dc00fedc761eddb94bfd66bf8a081705 100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-1,5
+1,5
@@
# dmenu version
-VERSION = 1.
5
+VERSION = 1.
6
# Customize below to fit your system
diff --git
a/draw.c
b/draw.c
index 74a47a6aea8840b07c49c1f23495c41a688dc774..56a1beb37e6778b92ede9223691ab93f94748341 100644
(file)
--- a/
draw.c
+++ b/
draw.c
@@
-88,13
+88,8
@@
setfont(const char *fontstr) {
if(dc.font.set)
XFreeFontSet(dpy, dc.font.set);
dc.font.set = XCreateFontSet(dpy, fontstr, &missing, &n, &def);
- if(missing)
{
+ if(missing)
XFreeStringList(missing);
- if(dc.font.set) {
- XFreeFontSet(dpy, dc.font.set);
- dc.font.set = NULL;
- }
- }
if(dc.font.set) {
XFontSetExtents *font_extents;
XFontStruct **xfonts;