]> git.eshelyaron.com Git - emacs.git/commit
Check by eassert that a bytepos argument isn't in the middle of a character
authorAlan Mackenzie <acm@muc.de>
Sat, 2 Mar 2019 18:23:34 +0000 (18:23 +0000)
committerAlan Mackenzie <acm@muc.de>
Sat, 2 Mar 2019 18:23:34 +0000 (18:23 +0000)
commit954c9c5bc344cdd6b201c2260b306ec0999aff24
tree1f0a28cd728d91106ab7e8c2808c97340ac12ef5
parentd2b5f445c1a5f9e105eb65e10b28a40645516656
Check by eassert that a bytepos argument isn't in the middle of a character

* src/marker.c (buf_bytepos_to_charpos): Add an eassert to check that the
parameter bytepos is at the beginning of a character or EOB.
src/marker.c