… | |
… | |
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] /* Must match characters to skip. */ |
2254 | && (RS_SAME (srp[col], drp[col]) /* Either rendition the same or */ |
2254 | && (RS_SAME (srp[col], drp[col]) /* Either rendition the same or */ |
2255 | || (stp[col] == ' ' /* space w/ no background change */ |
2255 | || (stp[col] == ' ' /* space w/ no background change */ |
2256 | && GET_BGATTR (srp[col]) == GET_BGATTR (drp[col])))) |
2256 | && !((srp[col] ^ drp[col]) & (RS_attrMask | RS_bgMask))))) |
2257 | continue; |
2257 | continue; |
2258 | |
2258 | |
2259 | // redraw one or more characters |
2259 | // redraw one or more characters |
2260 | |
2260 | |
2261 | // seek to the beginning of wide characters |
2261 | // seek to the beginning of wide characters |