]> git.lyx.org Git - features.git/commit
FindAdv: Fix the length of leading string
authorKornel Benko <kornel@lyx.org>
Fri, 29 Apr 2022 17:23:50 +0000 (19:23 +0200)
committerKornel Benko <kornel@lyx.org>
Fri, 29 Apr 2022 17:23:50 +0000 (19:23 +0200)
commit531fed9543b07cb06d23ba8f7276691d8fd6b9d6
treeda011d8bb59b17b07e3a96a74b6b2493ebdf27f6
parenta83159f05170733069a2baf2237e81c033f33916
FindAdv: Fix the length of leading string

We are removing leading values from the start of string, so
the size of removed data was wrong because s.find() could find
a position inside the leading part.
src/lyxfind.cpp