summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/hangul/hangul-fc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/hangul/hangul-fc.c b/modules/hangul/hangul-fc.c
index 26485b8b..9ab0fbc3 100644
--- a/modules/hangul/hangul-fc.c
+++ b/modules/hangul/hangul-fc.c
@@ -346,9 +346,9 @@ hangul_engine_shape (PangoEngineShape *engine,
}
}
- if (n_jamos == max_jamos)
+ if (n_jamos >= max_jamos - 3)
{
- max_jamos += 3; /* at most 3 for each syllable code (L+V+T) */
+ max_jamos += 8; /* at most 3 for each syllable code (L+V+T) */
if (jamos == jamos_static)
{
jamos = g_new (gunichar, max_jamos);