Minor
diff --git a/src/hb-ot-layout.cc b/src/hb-ot-layout.cc
index f29c52d..b1e69e8 100644
--- a/src/hb-ot-layout.cc
+++ b/src/hb-ot-layout.cc
@@ -841,7 +841,7 @@
   {
     if (accel.may_have (buffer->cur().codepoint) &&
 	(buffer->cur().mask & c->lookup_mask) &&
-	c->check_glyph_property (&c->buffer->cur(), c->lookup_props) &&
+	c->check_glyph_property (&buffer->cur(), c->lookup_props) &&
 	obj.apply (c))
       ret = true;
     else
@@ -862,7 +862,7 @@
   {
     if (accel.may_have (buffer->cur().codepoint) &&
 	(buffer->cur().mask & c->lookup_mask) &&
-	c->check_glyph_property (&c->buffer->cur(), c->lookup_props) &&
+	c->check_glyph_property (&buffer->cur(), c->lookup_props) &&
 	obj.apply (c))
       ret = true;
     /* The reverse lookup doesn't "advance" cursor (for good reason). */