[hackers] [st] Style police. || Christoph Lohmann
commit 587b4435924bab598a904531dc8d01656d1e519a
Author: Christoph Lohmann <20h_AT_r-36.net>
Date: Sat Jun 7 13:49:04 2014 +0200
Style police.
diff --git a/st.c b/st.c
index b148401..3681776 100644
--- a/st.c
+++ b/st.c
_AT_@ -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
", ascii);
- else
+ } else {
term.trantbl[term.icharset] = vcs[p - cs];
+ }
}
void
Received on Sat Jun 07 2014 - 13:49:12 CEST
This archive was generated by hypermail 2.3.0
: Sat Jun 07 2014 - 14:00:10 CEST