diff --git a/src/viewer/nroff.c b/src/viewer/nroff.c
index eb3a486..7733429 100644
a
|
b
|
mcview_display_nroff (mcview_t * view) |
104 | 104 | int c; |
105 | 105 | int c_prev = 0; |
106 | 106 | int c_next = 0; |
107 | | struct hexedit_change_node *curr = view->change_list; |
108 | 107 | |
109 | 108 | mcview_display_clean (view); |
110 | 109 | mcview_display_ruler (view); |
111 | 110 | |
112 | 111 | /* Find the first displayable changed byte */ |
113 | 112 | from = view->dpy_start; |
114 | | while (curr && (curr->offset < from)) |
115 | | { |
116 | | curr = curr->next; |
117 | | } |
118 | 113 | |
119 | 114 | tty_setcolor (VIEW_NORMAL_COLOR); |
120 | 115 | for (row = 0, col = 0; row < height;) |
diff --git a/src/viewer/plain.c b/src/viewer/plain.c
index 8003f3a..11e65d4 100644
a
|
b
|
mcview_display_text (mcview_t * view) |
74 | 74 | int cw = 1; |
75 | 75 | int c, prev_ch = 0; |
76 | 76 | gboolean last_row = TRUE; |
77 | | struct hexedit_change_node *curr = view->change_list; |
78 | 77 | |
79 | 78 | mcview_display_clean (view); |
80 | 79 | mcview_display_ruler (view); |
81 | 80 | |
82 | 81 | /* Find the first displayable changed byte */ |
83 | 82 | from = view->dpy_start; |
84 | | while ((curr != NULL) && (curr->offset < from)) |
85 | | curr = curr->next; |
86 | 83 | |
87 | 84 | while (row < height) |
88 | 85 | { |