mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
The real fix for the bug 935.
It works for not utf-8 and the code doesn't affect the utf-8 mode.
This commit is contained in:
parent
e366f5e63f
commit
65d7faed61
@ -119,7 +119,6 @@ split_line(unsigned char *text, int max_width, int *cells)
|
|||||||
* followed by a space so this rule
|
* followed by a space so this rule
|
||||||
* will not match often. We match dash
|
* will not match often. We match dash
|
||||||
* and quotes too. */
|
* and quotes too. */
|
||||||
cells_save--;
|
|
||||||
while (--split != text) {
|
while (--split != text) {
|
||||||
cells_save--;
|
cells_save--;
|
||||||
if (!ispunct(*split)) continue;
|
if (!ispunct(*split)) continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user