… | |
… | |
107 | } |
107 | } |
108 | |
108 | |
109 | l.touch (); |
109 | l.touch (); |
110 | |
110 | |
111 | efs &= ~RS_baseattrMask; // remove italic etc. fontstyles |
111 | efs &= ~RS_baseattrMask; // remove italic etc. fontstyles |
112 | efs = SET_FONT (efs, FONTSET (efs)->find_font (' ')); |
112 | efs = SET_FONT (efs, FONTSET (efs)->find_space_font ()); |
113 | |
113 | |
114 | text_t *et = l.t + col; |
114 | text_t *et = l.t + col; |
115 | rend_t *er = l.r + col; |
115 | rend_t *er = l.r + col; |
116 | |
116 | |
117 | while (width--) |
117 | while (width--) |
… | |
… | |
139 | // find begin |
139 | // find begin |
140 | while (col > 0 && l.t[col] == NOCHAR) |
140 | while (col > 0 && l.t[col] == NOCHAR) |
141 | col--; |
141 | col--; |
142 | |
142 | |
143 | rend_t rend = l.r[col] & ~RS_baseattrMask; |
143 | rend_t rend = l.r[col] & ~RS_baseattrMask; |
144 | rend = SET_FONT (rend, FONTSET (rend)->find_font (' ')); |
144 | rend = SET_FONT (rend, FONTSET (rend)->find_space_font ()); |
145 | |
145 | |
146 | l.touch (); |
146 | l.touch (); |
147 | |
147 | |
148 | // found start, nuke |
148 | // found start, nuke |
149 | do { |
149 | do { |