void
selcopy(void) {
char *str, *ptr, *p;
- int x, y, bufsize, is_selected = 0, size;
+ int x, y, bufsize, isselected = 0, size;
Glyph *gp, *last;
if(sel.bx == -1) {
/* append every set & selected glyph to the selection */
for(y = sel.b.y; y < sel.e.y + 1; y++) {
- is_selected = 0;
+ isselected = 0;
gp = &term.line[y][0];
last = gp + term.col;
if(!selected(x, y)) {
continue;
} else {
- is_selected = 1;
+ isselected = 1;
}
p = (gp->state & GLYPH_SET) ? gp->c : " ";
* st.
* FIXME: Fix the computer world.
*/
- if(is_selected && y < sel.e.y)
+ if(isselected && y < sel.e.y)
*ptr++ = '\n';
}
*ptr = 0;