projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b02925
)
(xlfd_unparse_name): Print '*' before registry name.
author
handa
<handa>
Thu, 22 Sep 2005 07:25:58 +0000
(07:25 +0000)
committer
handa
<handa>
Thu, 22 Sep 2005 07:25:58 +0000
(07:25 +0000)
src/font.c
patch
|
blob
|
history
diff --git
a/src/font.c
b/src/font.c
index
358b750
..
2bff416
100644
(file)
--- 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]);
}