commit - 0e48a1995eee1c2babc58523ef0be296e4b1c3e8
commit + 39964614b742c4ec98a326762d98470cb987a45b
blob - f2b309562c3111455e024c03ff89de8e8d333616
blob + 839136ddf906c5cf674fb039f6f534ae8893d8d8
--- st.c
+++ st.c
XftTextExtentsUtf8(xw.dpy, f->match,
(const FcChar8 *) ascii_printable,
- LEN(ascii_printable), &extents);
+ strlen(ascii_printable), &extents);
f->set = NULL;
f->pattern = FcPatternDuplicate(pattern);
f->rbearing = f->match->max_advance_width;
f->height = f->ascent + f->descent;
- f->width = DIVCEIL(extents.xOff, LEN(ascii_printable));
+ f->width = DIVCEIL(extents.xOff, strlen(ascii_printable));
return 0;
}