mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
Ticket #1944: incorrect draw of wrapped lines.
If viewer is in wrap mode, there is an expta empty line
in wrapped line. This bug was introduced in
8c84095ae1
commit.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
49c86446ac
commit
23cd4b9cb3
@ -16,6 +16,7 @@
|
|||||||
2009 Slava Zanko <slavazanko@google.com>
|
2009 Slava Zanko <slavazanko@google.com>
|
||||||
2009 Andrew Borodin <aborodin@vmail.ru>
|
2009 Andrew Borodin <aborodin@vmail.ru>
|
||||||
2009 Ilia Maslakov <il.smind@gmail.com>
|
2009 Ilia Maslakov <il.smind@gmail.com>
|
||||||
|
2010 Andrew Borodin <aborodin@vmail.ru>
|
||||||
|
|
||||||
This file is part of the Midnight Commander.
|
This file is part of the Midnight Commander.
|
||||||
|
|
||||||
@ -125,7 +126,6 @@ mcview_display_text (mcview_t * view)
|
|||||||
|
|
||||||
if (col >= width && view->text_wrap_mode) {
|
if (col >= width && view->text_wrap_mode) {
|
||||||
col = 0;
|
col = 0;
|
||||||
row++;
|
|
||||||
if (++row >= height)
|
if (++row >= height)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user