Parcourir la source

enforcing using imcomplete fonsets anyways

master
arg@mig29 il y a 17 ans
Parent
révision
5d43e9243c
2 fichiers modifiés avec 2 ajouts et 7 suppressions
  1. +1
    -1
      config.mk
  2. +1
    -6
      draw.c

+ 1
- 1
config.mk Voir le fichier

@@ -1,5 +1,5 @@
# dmenu version
VERSION = 1.5
VERSION = 1.6

# Customize below to fit your system



+ 1
- 6
draw.c Voir le fichier

@@ -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;


Chargement…
Annuler
Enregistrer