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.333 by sf-exg, Sun Jan 24 21:53:13 2010 UTC vs.
Revision 1.335 by root, Tue Mar 30 23:00:35 2010 UTC

1834 for (i = PART_BEG; i < RC_COUNT; i++) 1834 for (i = PART_BEG; i < RC_COUNT; i++)
1835 { 1835 {
1836 min_it (rc[i].col, ncol - 1); 1836 min_it (rc[i].col, ncol - 1);
1837 min_it (rc[i].row, nrow - 1); 1837 min_it (rc[i].row, nrow - 1);
1838 } 1838 }
1839// TODO: this line somehow causes segfault if scr_expose() is called just after resize 1839
1840 for (i = rc[PART_BEG].row; i <= rc[PART_END].row; i++) 1840 for (i = rc[PART_BEG].row; i <= rc[PART_END].row; i++)
1841 fill_text (&drawn_buf[i].t[rc[PART_BEG].col], 0, rc[PART_END].col - rc[PART_BEG].col + 1); 1841 fill_text (&drawn_buf[i].t[rc[PART_BEG].col], 0, rc[PART_END].col - rc[PART_BEG].col + 1);
1842 1842
1843 num_scr_allow = 0; 1843 num_scr_allow = 0;
1844 1844
2377 } 2377 }
2378 2378
2379 /* 2379 /*
2380 * Actually do the drawing of the string here 2380 * Actually do the drawing of the string here
2381 */ 2381 */
2382 rxvt_font *font = (*fontset[GET_STYLE (rend)])[GET_FONT (rend)]; 2382 rxvt_font *font = fontset [GET_STYLE (rend)]->get (*text, GET_FONT (rend));
2383 2383
2384 if (expect_true (have_bg && back == Color_bg)) 2384 if (expect_true (have_bg && back == Color_bg))
2385 { 2385 {
2386 // this is very ugly, maybe push it into ->draw? 2386 // this is very ugly, maybe push it into ->draw?
2387 2387

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines