diff --git a/test/api/test-buffer.c b/test/api/test-buffer.c index 51b227793..f826f2e71 100644 --- a/test/api/test-buffer.c +++ b/test/api/test-buffer.c @@ -71,7 +71,7 @@ fixture_init (fixture_t *fixture, gconstpointer user_data) case BUFFER_ONE_BY_ONE: for (i = 1; i < G_N_ELEMENTS (utf32) - 1; i++) - hb_buffer_add (b, utf32[i], 1, i); + hb_buffer_add (b, utf32[i], i); break; case BUFFER_UTF32: