/[hurd]/hurd/libcons/file-changed.c
ViewVC logotype

Diff of /hurd/libcons/file-changed.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by marcus, Fri Sep 13 23:53:55 2002 UTC revision 1.9 by marcus, Tue Sep 17 11:47:15 2002 UTC
# Line 162  cons_S_file_changed (cons_notify_t notif Line 162  cons_S_file_changed (cons_notify_t notif
162                              scrolling = vcons->state.screen.height;                              scrolling = vcons->state.screen.height;
163                            if (scrolling < vcons->state.screen.height)                            if (scrolling < vcons->state.screen.height)
164                              cons_vcons_scroll (vcons, scrolling);                              cons_vcons_scroll (vcons, scrolling);
165                              else
166                                cons_vcons_clear (vcons, vcons->state.screen.width
167                                                  * vcons->state.screen.height,
168                                                  0, 0);
169                            vis_start = vcons->state.screen.width                            vis_start = vcons->state.screen.width
170                              * (cur_disp_line % vcons->state.screen.lines);                              * (cur_disp_line % vcons->state.screen.lines);
171                            start = (((cur_disp_line % vcons->state.screen.lines)                            start = (((cur_disp_line % vcons->state.screen.lines)
# Line 299  cons_S_file_changed (cons_notify_t notif Line 303  cons_S_file_changed (cons_notify_t notif
303                                
304                if (start != -1)                if (start != -1)
305                  {                  {
306                      cons_vcons_clear (vcons, end - start + 1,
307                                        start_rel % vcons->state.screen.width,
308                                        start_rel / vcons->state.screen.width);
309                    cons_vcons_write (vcons, vcons->state.screen.matrix + start,                    cons_vcons_write (vcons, vcons->state.screen.matrix + start,
310                                      end < size                                      end < size
311                                      ? end - start + 1                                      ? end - start + 1
# Line 314  cons_S_file_changed (cons_notify_t notif Line 321  cons_S_file_changed (cons_notify_t notif
321                                        / vcons->state.screen.width);                                        / vcons->state.screen.width);
322                    if (end2 != -1)                    if (end2 != -1)
323                      {                      {
324                          cons_vcons_clear (vcons, end2 - rotate + 1, 0, 0);
325                        cons_vcons_write (vcons,                        cons_vcons_write (vcons,
326                                          vcons->state.screen.matrix + rotate,                                          vcons->state.screen.matrix + rotate,
327                                          end2 < size                                          end2 < size

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26