Files
neovim/test/functional
zeertzjq 917f496f75 vim-patch:9.1.1395: search_stat not reset when pattern differs in case (#34058)
Problem:  search_stat not reset when pattern differs in case
          (tahzibijafar)
Solution: use STRNCMP instead of MB_STRNICMP macro

There was a long standing todo comment, that using MB_STRNICMP is wrong.
So let's change it to STRNCMP() instead. Even if it not handle
multi-byte characters correctly, then Vim will rather recompute the
search stat, instead of re-using the old (and possibly wrong) value.

fixes: vim/vim#17312
closes: vim/vim#17314

670d0c1468

Co-authored-by: Christian Brabandt <cb@256bit.org>
(cherry picked from commit ec5f054dc9)
2025-05-17 00:12:13 +00:00
..
2025-03-18 06:18:37 -07:00
2025-03-26 14:48:09 +01:00
2025-03-02 14:27:52 -08:00
2024-11-21 06:50:30 +08:00
2025-03-02 14:27:52 -08:00
2024-04-23 18:17:04 +02:00