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:
ba563af
)
(mfont__lookup_fontset): Don't set *num to 1 if it is 0.
author
handa
<handa>
Tue, 6 Jun 2006 07:08:57 +0000
(07:08 +0000)
committer
handa
<handa>
Tue, 6 Jun 2006 07:08:57 +0000
(07:08 +0000)
src/fontset.c
patch
|
blob
|
history
diff --git
a/src/fontset.c
b/src/fontset.c
index
fee964b
..
119a459
100644
(file)
--- a/
src/fontset.c
+++ b/
src/fontset.c
@@
-775,7
+775,7
@@
mfont__lookup_fontset (MRealizedFontset *realized, MGlyph *g, int *num,
g, num, size)))
return rfont;
- if (per_lang)
+ if (per_lang && *num > 1)
*num = 1;
if (language == Mt)
{
@@
-795,7
+795,7
@@
mfont__lookup_fontset (MRealizedFontset *realized, MGlyph *g, int *num,
g, num, size)))
return rfont;
- if (per_lang)
+ if (per_lang && *num > 1)
*num = 1;
/* Then try the above (3) */
MPLIST_DO (plist, per_script)