mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
Interpret 0xA0 (nbsp in UTF-8 mode) as space char for searches. Issue #20
This commit is contained in:
parent
3b279e5ec6
commit
fbfbe4013c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user