From 9c0818b97a26f03376e92f90a02d2eb36299945b Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 22 Sep 2005 07:25:58 +0000 Subject: [PATCH] (xlfd_unparse_name): Print '*' before registry name. --- src/font.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/font.c b/src/font.c index 358b750..2bff416 100644 --- a/src/font.c +++ b/src/font.c @@ -898,11 +898,11 @@ xlfd_unparse_name (MFont *font, int full_xlfd) if (p[-1] != '*' || font->size > 0) { if (font->size > 0) - p += sprintf (p, "-%d", size); + p += sprintf (p, "-%d-*", size); else p += sprintf (p, "-*"); } - if (p[-1] != '*' || str[6][0] != '*') + if (str[6][0] != '*') sprintf (p, "-%s", str[6]); } -- 1.7.10.4