emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master e91848344e: Pass through caret position from native GTK


From: Po Lu
Subject: Re: master e91848344e: Pass through caret position from native GTK
Date: Mon, 10 Jan 2022 08:27:15 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.60 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> Is it really correct to use SCHARS in the first argument to
> Fput_text_property?  It should be SCHARS(..)-1, I think, as the
> characters in a string are indexed zero-based.
>
> (There are several places in this commit where I spotted the same
> code.)
>
> Thanks.

Good catch, thanks.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]