Browse Source

Minor naming issue fixed.

master
Christoph Lohmann 12 years ago
parent
commit
5984657c00
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      st.c

+ 4
- 4
st.c View File

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


Loading…
Cancel
Save