From d5188d8c0c3a3a9bf4e32f98e18c258695d8988a Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 15 May 2001 10:42:18 +0000 Subject: [PATCH] (split_font_name): Handle `[...]' for the right font name fields. --- src/xfaces.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xfaces.c b/src/xfaces.c index 68371ef229..676f1d7725 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -2215,8 +2215,8 @@ split_font_name (f, font, numeric_p) 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; -- 2.20.1