tStyle police. - st - [fork] customized build of st, the simple terminal | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 587b4435924bab598a904531dc8d01656d1e519a | |
parent 93661042a2a0cf6f3655360f5c52215c684a4211 | |
Author: Christoph Lohmann <[email protected]> | |
Date: Sat, 7 Jun 2014 13:49:04 +0200 | |
Style police. | |
Diffstat: | |
M st.c | 5 +++-- | |
1 file changed, 3 insertions(+), 2 deletions(-) | |
--- | |
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 |