Browse Source

enforcing using fontsets even if they are incomplete for some encodings

master
arg@mig29 18 years ago
parent
commit
9bd9ea423e
2 changed files with 1 additions and 5 deletions
  1. +1
    -1
      config.mk
  2. +0
    -4
      draw.c

+ 1
- 1
config.mk View File

@ -1,5 +1,5 @@
# dwm version # dwm version
VERSION = 2.5.1
VERSION = 2.6
# Customize below to fit your system # Customize below to fit your system


+ 0
- 4
draw.c View File

@ -179,10 +179,6 @@ setfont(const char *fontstr) {
while(n--) while(n--)
fprintf(stderr, "missing fontset: %s\n", missing[n]); fprintf(stderr, "missing fontset: %s\n", missing[n]);
XFreeStringList(missing); XFreeStringList(missing);
if(dc.font.set) {
XFreeFontSet(dpy, dc.font.set);
dc.font.set = NULL;
}
} }
if(dc.font.set) { if(dc.font.set) {
XFontSetExtents *font_extents; XFontSetExtents *font_extents;


Loading…
Cancel
Save