aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--st.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/st.c b/st.c
index b8bf84b..bb3e687 100644
--- a/st.c
+++ b/st.c
@@ -1544,8 +1544,7 @@ tsetchar(char *c, Glyph *attr, int x, int y) {
1544 * The table is proudly stolen from rxvt. 1544 * The table is proudly stolen from rxvt.
1545 */ 1545 */
1546 if(attr->mode & ATTR_GFX) { 1546 if(attr->mode & ATTR_GFX) {
1547 if(c[0] >= 0x41 && c[0] <= 0x7e 1547 if(BETWEEN(c[0], 0x41, 0x7e) && vt100_0[c[0] - 0x41]) {
1548 && vt100_0[c[0] - 0x41]) {
1549 c = vt100_0[c[0] - 0x41]; 1548 c = vt100_0[c[0] - 0x41];
1550 } 1549 }
1551 } 1550 }