JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Style police.
authorChristoph Lohmann <20h@r-36.net>
Sat, 7 Jun 2014 11:49:04 +0000 (13:49 +0200)
committerChristoph Lohmann <20h@r-36.net>
Sat, 7 Jun 2014 11:49:04 +0000 (13:49 +0200)
st.c

diff --git a/st.c b/st.c
index b148401..3681776 100644 (file)
--- 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