tStyle police. - st - [fork] customized build of st, the simple terminal
(HTM) git clone git://src.adamsgaard.dk/st
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 587b4435924bab598a904531dc8d01656d1e519a
(DIR) parent 93661042a2a0cf6f3655360f5c52215c684a4211
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Sat, 7 Jun 2014 13:49:04 +0200
Style police.
Diffstat:
M st.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/st.c b/st.c
t@@ -2319,10 +2319,11 @@ tdeftran(char ascii) {
static int vcs[] = {CS_GRAPHIC0, CS_USA};
char *p;
- if((p = strchr(cs, ascii)) == NULL)
+ if((p = strchr(cs, ascii)) == NULL) {
fprintf(stderr, "esc unhandled charset: ESC ( %c\n", ascii);
- else
+ } else {
term.trantbl[term.icharset] = vcs[p - cs];
+ }
}
void