aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2014-06-07 13:49:04 +0200
committerChristoph Lohmann <20h@r-36.net>2014-06-07 13:49:04 +0200
commit587b4435924bab598a904531dc8d01656d1e519a (patch)
tree124871f55780b805e4401d8218cf5d2e906fa102
parent93661042a2a0cf6f3655360f5c52215c684a4211 (diff)
Style police.
-rw-r--r--st.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/st.c b/st.c
index b148401..3681776 100644
--- 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