Browse Source

apply Nick's patch to fix some error printf to use stderr

master
pancake@nopcode.org 14 years ago
parent
commit
1ab42fd49e
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      st.c

+ 2
- 2
st.c View File

@ -935,7 +935,7 @@ csihandle(void) {
switch(escseq.mode) { switch(escseq.mode) {
default: default:
unknown: unknown:
printf("erresc: unknown csi ");
fprintf(stderr, "erresc: unknown csi ");
csidump(); csidump();
/* die(""); */ /* die(""); */
break; break;
@ -1207,7 +1207,7 @@ tputc(char *c) {
term.c.attr.mode &= ~ATTR_GFX; term.c.attr.mode &= ~ATTR_GFX;
break; break;
default: default:
printf("esc unhandled charset: ESC ( %c\n", ascii);
fprintf(stderr, "esc unhandled charset: ESC ( %c\n", ascii);
} }
term.esc = 0; term.esc = 0;
} else { } else {


Loading…
Cancel
Save