summaryrefslogtreecommitdiff
path: root/src/hb-buffer-private.hh
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-10-27 17:06:12 -0400
committerBehdad Esfahbod <behdad@behdad.org>2010-11-02 19:12:58 -0400
commitdbf56b1d94910f04823e53e39ace1e5145bddc04 (patch)
treed75add2dd5baa74699f3fbff14a2c0a7a3e60776 /src/hb-buffer-private.hh
parentf6a23a0b9171958f76c1d0473b09fc08d2b3a0d0 (diff)
More lig-id cleanup
Diffstat (limited to 'src/hb-buffer-private.hh')
-rw-r--r--src/hb-buffer-private.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hb-buffer-private.hh b/src/hb-buffer-private.hh
index 2ad82120..ce956793 100644
--- a/src/hb-buffer-private.hh
+++ b/src/hb-buffer-private.hh
@@ -120,11 +120,11 @@ struct _hb_buffer_t {
/* Other stuff */
- unsigned int max_lig_id;
+ unsigned int serial;
/* Methods */
- inline unsigned int allocate_lig_id (void) { return max_lig_id++; }
+ inline unsigned int next_serial (void) { return serial++; }
inline void swap (void) { _hb_buffer_swap (this); }
inline void clear_output (void) { _hb_buffer_clear_output (this); }
inline void next_glyph (void) { _hb_buffer_next_glyph (this); }