mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
Added some white-space for better readability.
This commit is contained in:
parent
c2564e99f6
commit
9758c34a82
@ -1836,14 +1836,17 @@ view_display_text (WView * view)
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if ((c == '\n') || (col >= width && view->text_wrap_mode)) {
|
||||
col = 0;
|
||||
row++;
|
||||
if (c == '\n' || row >= height)
|
||||
continue;
|
||||
}
|
||||
|
||||
if (c == '\r')
|
||||
continue;
|
||||
|
||||
if (c == '\t') {
|
||||
offset_type line, column;
|
||||
view_offset_to_coord (view, &line, &column, from);
|
||||
@ -1854,6 +1857,7 @@ view_display_text (WView * view)
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
if (view->found_len != 0
|
||||
&& from >= view->search_start
|
||||
&& from < view->search_start + view->found_len) {
|
||||
|
Loading…
Reference in New Issue
Block a user