diff options
-rw-r--r-- | st.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |