diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/composite.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index e19d60dbbb0..6dc57c60af7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-09-17 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * composite.c (Fcomposition_get_gstring): Make bigger gstring_work | ||
| 4 | if necessary. | ||
| 5 | |||
| 1 | 2008-09-16 Kenichi Handa <handa@m17n.org> | 6 | 2008-09-16 Kenichi Handa <handa@m17n.org> |
| 2 | 7 | ||
| 3 | * coding.c (make_conversion_work_buffer): Avoid calling | 8 | * coding.c (make_conversion_work_buffer): Avoid calling |
diff --git a/src/composite.c b/src/composite.c index 97524297988..576e0c8a402 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -1496,6 +1496,8 @@ must be ignore. */) | |||
| 1496 | gstring = gstring_lookup_cache (header); | 1496 | gstring = gstring_lookup_cache (header); |
| 1497 | if (! NILP (gstring)) | 1497 | if (! NILP (gstring)) |
| 1498 | return gstring; | 1498 | return gstring; |
| 1499 | if (LGSTRING_GLYPH_LEN (gstring_work) < to - from) | ||
| 1500 | gstring_work = Fmake_vector (make_number (to - from + 2), Qnil); | ||
| 1499 | LGSTRING_SET_HEADER (gstring_work, header); | 1501 | LGSTRING_SET_HEADER (gstring_work, header); |
| 1500 | LGSTRING_SET_ID (gstring_work, Qnil); | 1502 | LGSTRING_SET_ID (gstring_work, Qnil); |
| 1501 | fill_gstring_body (gstring_work); | 1503 | fill_gstring_body (gstring_work); |