Introduction
Introduction Statistics Contact Development Disclaimer Help
tMinor naming issue fixed. - st - [fork] customized build of st, the simple ter…
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit 5984657c001fe5b4690cef5ddffe11acbf7da7f2
parent 4018b2c5075c1cab603ca137ef5f6d68b9cee483
Author: Christoph Lohmann <[email protected]>
Date: Sat, 13 Apr 2013 08:50:38 +0200
Minor naming issue fixed.
Diffstat:
M st.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/st.c b/st.c
t@@ -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) {
t@@ -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;
t@@ -780,7 +780,7 @@ selcopy(void) {
if(!selected(x, y)) {
continue;
} else {
- is_selected = 1;
+ isselected = 1;
}
p = (gp->state & GLYPH_SET) ? gp->c : " ";
t@@ -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++ = '\n';
}
*ptr = 0;
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.