… | |
… | |
2248 | int ypixel = (int)Row2Pixel (row); |
2248 | int ypixel = (int)Row2Pixel (row); |
2249 | |
2249 | |
2250 | for (col = 0; col < ncol; col++) |
2250 | for (col = 0; col < ncol; col++) |
2251 | { |
2251 | { |
2252 | /* compare new text with old - if exactly the same then continue */ |
2252 | /* compare new text with old - if exactly the same then continue */ |
2253 | if (stp[col] == dtp[col] /* Must match characters to skip. */ |
2253 | if (stp[col] == dtp[col] && RS_SAME (srp[col], drp[col])) |
2254 | && (RS_SAME (srp[col], drp[col]) /* Either rendition the same or */ |
|
|
2255 | || (stp[col] == ' ' /* space w/ no background change */ |
|
|
2256 | && !((srp[col] ^ drp[col]) & (RS_attrMask | RS_bgMask))))) |
|
|
2257 | continue; |
2254 | continue; |
2258 | |
2255 | |
2259 | // redraw one or more characters |
2256 | // redraw one or more characters |
2260 | |
2257 | |
2261 | // seek to the beginning of wide characters |
2258 | // seek to the beginning of wide characters |