aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-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) {
2319 static int vcs[] = {CS_GRAPHIC0, CS_USA}; 2319 static int vcs[] = {CS_GRAPHIC0, CS_USA};
2320 char *p; 2320 char *p;
2321 2321
2322 if((p = strchr(cs, ascii)) == NULL) 2322 if((p = strchr(cs, ascii)) == NULL) {
2323 fprintf(stderr, "esc unhandled charset: ESC ( %c\n", ascii); 2323 fprintf(stderr, "esc unhandled charset: ESC ( %c\n", ascii);
2324 else 2324 } else {
2325 term.trantbl[term.icharset] = vcs[p - cs]; 2325 term.trantbl[term.icharset] = vcs[p - cs];
2326 }
2326} 2327}
2327 2328
2328void 2329void