projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9cd101
)
[HB] Fix buffer enlargement. Ouch
author
Behdad Esfahbod
<behdad@behdad.org>
Tue, 28 Jul 2009 19:50:42 +0000
(15:50 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 2 Nov 2009 19:40:23 +0000
(14:40 -0500)
src/hb-buffer.c
patch
|
blob
|
history
diff --git
a/src/hb-buffer.c
b/src/hb-buffer.c
index
31b6c0f
..
d2ec33d
100644
(file)
--- a/
src/hb-buffer.c
+++ b/
src/hb-buffer.c
@@
-244,7
+244,7
@@
_hb_buffer_add_output_glyphs (hb_buffer_t *buffer,
unsigned int properties;
unsigned int cluster;
- if (buffer->out_string
== buffer->in_string &&
+ if (buffer->out_string
!= buffer->in_string ||
buffer->out_pos + num_out > buffer->in_pos + num_in)
{
hb_buffer_ensure_separate (buffer, buffer->out_pos + num_out);