summaryrefslogtreecommitdiff
path: root/pango/pango-ot-buffer.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-07-28 15:50:58 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-07-28 15:50:58 -0400
commit11c229d522b9bda910805d571eb29a564b81e926 (patch)
tree3be923abc02ea98d83472a7e486bc6fcf25cd8f1 /pango/pango-ot-buffer.c
parent603479e35c849285078238275510c0c89170ff9d (diff)
downloadpango-11c229d522b9bda910805d571eb29a564b81e926.tar.gz
[HB] Adapt to new buffer API
Diffstat (limited to 'pango/pango-ot-buffer.c')
-rw-r--r--pango/pango-ot-buffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-ot-buffer.c b/pango/pango-ot-buffer.c
index 49a1e1df..a977e7d9 100644
--- a/pango/pango-ot-buffer.c
+++ b/pango/pango-ot-buffer.c
@@ -36,14 +36,14 @@ acquire_buffer (gboolean *free_buffer)
if (G_LIKELY (G_TRYLOCK (cached_buffer)))
{
if (G_UNLIKELY (!cached_buffer))
- cached_buffer = hb_buffer_new ();
+ cached_buffer = hb_buffer_new (64);
buffer = cached_buffer;
*free_buffer = FALSE;
}
else
{
- buffer = hb_buffer_new ();
+ buffer = hb_buffer_new (32);
*free_buffer = TRUE;
}