[hackers] [st] Minor naming issue fixed. || Christoph Lohmann

From: <git_AT_suckless.org>
Date: Sat, 13 Apr 2013 08:52:20 +0200

commit 5984657c001fe5b4690cef5ddffe11acbf7da7f2
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Sat Apr 13 08:50:38 2013 +0200

    Minor naming issue fixed.

diff --git a/st.c b/st.c
index 49a9770..b350225 100644
--- a/st.c
+++ b/st.c
_AT_@ -758,7 +758,7 @@ bpress(XEvent *e) {
 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) {
_AT_@ -769,7 +769,7 @@ selcopy(void) {
 
                 /* 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;
 
_AT_@ -780,7 +780,7 @@ selcopy(void) {
                                 if(!selected(x, y)) {
                                         continue;
                                 } else {
- is_selected = 1;
+ isselected = 1;
                                 }
 
                                 p = (gp->state & GLYPH_SET) ? gp->c : " ";
_AT_@ -798,7 +798,7 @@ selcopy(void) {
                          * st.
                          * FIXME: Fix the computer world.
                          */
- if(is_selected && y < sel.e.y)
+ if(isselected && y < sel.e.y)
                                 *ptr++ = '
';
                 }
                 *ptr = 0;
Received on Sat Apr 13 2013 - 08:52:20 CEST

This archive was generated by hypermail 2.3.0 : Sat Apr 13 2013 - 09:00:23 CEST