Introduction
Introduction Statistics Contact Development Disclaimer Help
tUse BETWEEN in tsetchar. - st - [fork] customized build of st, the simple term…
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit df1810dd8fcb7a14f4cd2ff2ec3ce8780591f87f
parent ed855ea432156cea5ca3c6c942392f97d4c3ab1d
Author: noname <[email protected]>
Date: Tue, 22 Apr 2014 21:59:39 +0400
Use BETWEEN in tsetchar.
Diffstat:
M st.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/st.c b/st.c
t@@ -1544,8 +1544,7 @@ tsetchar(char *c, Glyph *attr, int x, int y) {
* The table is proudly stolen from rxvt.
*/
if(attr->mode & ATTR_GFX) {
- if(c[0] >= 0x41 && c[0] <= 0x7e
- && vt100_0[c[0] - 0x41]) {
+ if(BETWEEN(c[0], 0x41, 0x7e) && vt100_0[c[0] - 0x41]) {
c = vt100_0[c[0] - 0x41];
}
}
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.