From 68643cdeb65ae0f088b13e68ccbf4346f67bfa7e Mon Sep 17 00:00:00 2001 From: Dmitry Antipov Date: Sun, 10 Feb 2013 20:25:33 +0400 Subject: * syntax.c (scan_sexps_forward): Fix byte position calculation Bug#13664 (a.k.a Bug#13667) introduced with 2013-02-08 change. --- src/syntax.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/syntax.c') diff --git a/src/syntax.c b/src/syntax.c index 42500b0cb76..390d732944d 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -3278,6 +3278,7 @@ do { prev_from = from; \ stop: /* Here if stopping before start of sexp. */ from = prev_from; /* We have just fetched the char that starts it; */ + from_byte = prev_from_byte; goto done; /* but return the position before it. */ endquoted: -- cgit v1.2.1