# HG changeset patch # User Gerd Moellmann # Date 989923338 0 # Node ID d6f944b128c4191c2e9104f8ffb049457e0013de # Parent 349b1a0d19abdb74cc902ca49163fd5d50749148 (split_font_name): Handle `[...]' for the right font name fields. diff -r 349b1a0d19ab -r d6f944b128c4 src/xfaces.c --- a/src/xfaces.c Tue May 15 10:39:45 2001 +0000 +++ b/src/xfaces.c Tue May 15 10:42:18 2001 +0000 @@ -2215,8 +2215,8 @@ indicated by tilde characters which we replace with `-' characters, here. */ if (*p == '[' - && (i == XLFD_PIXEL_SIZE - || i == XLFD_POINT_SIZE)) + && (i - 1 == XLFD_PIXEL_SIZE + || i - 1 == XLFD_POINT_SIZE)) { char *start, *end; int j;