commit 587b4435924bab598a904531dc8d01656d1e519a
parent 93661042a2a0cf6f3655360f5c52215c684a4211
Author: Christoph Lohmann <20h@r-36.net>
Date: Sat, 7 Jun 2014 13:49:04 +0200
Style police.
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/st.c b/st.c
@@ -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