ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/screen.C
(Generate patch)

Comparing rxvt-unicode/src/screen.C (file contents):
Revision 1.325 by root, Wed Nov 5 12:28:15 2008 UTC vs.
Revision 1.326 by root, Wed Nov 5 13:04:51 2008 UTC

394 394
395 clamp_it (screen.cur.row, 0, nrow - 1); 395 clamp_it (screen.cur.row, 0, nrow - 1);
396 clamp_it (screen.cur.col, 0, ncol - 1); 396 clamp_it (screen.cur.col, 0, ncol - 1);
397 } 397 }
398 398
399 free (tabs);
400 tabs = (char *)rxvt_malloc (ncol);
401
402 for (int col = ncol; --col; )
403 tabs [col] = col % TABSIZE == 0;
404
399 CLEAR_ALL_SELECTION (); 405 CLEAR_ALL_SELECTION ();
400 406
401 prev_nrow = nrow; 407 prev_nrow = nrow;
402 prev_ncol = ncol; 408 prev_ncol = ncol;
403 409
453 scr_overlay_off (); 459 scr_overlay_off ();
454#endif 460#endif
455 461
456 if (current_screen != PRIMARY) 462 if (current_screen != PRIMARY)
457 scr_swap_screen (); 463 scr_swap_screen ();
458
459 free (tabs);
460 tabs = (char *)rxvt_malloc (ncol);
461
462 for (int col = ncol; --col; )
463 tabs [col] = col % TABSIZE == 0;
464 464
465 scr_scroll_region (0, MAX_ROWS - 1); 465 scr_scroll_region (0, MAX_ROWS - 1);
466 scr_rendition (0, ~RS_None); 466 scr_rendition (0, ~RS_None);
467 scr_insert_mode (0); 467 scr_insert_mode (0);
468} 468}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines