diff --git a/src/viewer/text/search.c b/src/viewer/text/search.c index d4ca02414..59e4aaab2 100644 --- a/src/viewer/text/search.c +++ b/src/viewer/text/search.c @@ -178,8 +178,12 @@ get_srch(struct document *document) /* skip double-width char placeholders */ if (c == UCS_NO_CHAR) continue; -#endif + if (c == 0xA0) { + add_srch_chr(document, ' ', x, y, 1); + continue; + } +#endif if (c > ' ') { add_srch_chr(document, c, x, y, 1); continue;