[pango/harfbuzz-ng-external: 25/28] More hb_buffer_clear() removal



commit 94ceb987c30a3ae2b695bb85f95b39c759b62ebe
Author: Behdad Esfahbod <behdad behdad org>
Date:   Fri Apr 15 18:47:58 2011 -0400

    More hb_buffer_clear() removal

 modules/basic/basic-fc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/basic/basic-fc.c b/modules/basic/basic-fc.c
index 0f823e4..27112f9 100644
--- a/modules/basic/basic-fc.c
+++ b/modules/basic/basic-fc.c
@@ -100,7 +100,7 @@ release_buffer (hb_buffer_t *buffer, gboolean free_buffer)
 {
   if (G_LIKELY (!free_buffer) && hb_buffer_get_reference_count (buffer) == 1)
     {
-      hb_buffer_clear (buffer);
+      hb_buffer_reset (buffer);
       G_UNLOCK (cached_buffer);
     }
   else



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]