JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Style police.
[st.git] / 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