search_stat: show "??/?" dual in right-to-left case #10170

Co-Authored-By: James McCoy <jamessan@jamessan.com>
This commit is contained in:
Santos Gallegos 2019-06-09 12:59:44 -05:00 committed by Justin M. Keyes
parent b397a3f397
commit 6c96c3b3f5

View File

@ -4289,7 +4289,7 @@ static void search_stat(int dirc, pos_T *pos,
if (curwin->w_p_rl && *curwin->w_p_rlc == 's') {
if (cur == OUT_OF_TIME) {
vim_snprintf(t, SEARCH_STAT_BUF_LEN, "[?/??]");
vim_snprintf(t, SEARCH_STAT_BUF_LEN, "[?\?/?]");
} else if (cnt > 99 && cur > 99) {
vim_snprintf(t, SEARCH_STAT_BUF_LEN, "[>99/>99]");
} else if (cnt > 99) {