aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpancake@nopcode.org <unknown>2011-04-01 09:32:41 +0200
committerpancake@nopcode.org <unknown>2011-04-01 09:32:41 +0200
commit2ea66b92296c62c52d514ef03d16a068fdd20bdf (patch)
treeb4336f41d0ba3e1f7860a82bb1c781de52e06cd3
parentcabc2bed6887ac11e73e9a8989f28a4598cd38f4 (diff)
downloadst-patched-2ea66b92296c62c52d514ef03d16a068fdd20bdf.tar.bz2
st-patched-2ea66b92296c62c52d514ef03d16a068fdd20bdf.tar.xz
st-patched-2ea66b92296c62c52d514ef03d16a068fdd20bdf.zip
apply Nick's patch to fix some error printf to use stderr
-rw-r--r--st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/st.c b/st.c
index d528828..1310426 100644
--- a/st.c
+++ b/st.c
@@ -935,7 +935,7 @@ csihandle(void) {
935 switch(escseq.mode) { 935 switch(escseq.mode) {
936 default: 936 default:
937 unknown: 937 unknown:
938 printf("erresc: unknown csi "); 938 fprintf(stderr, "erresc: unknown csi ");
939 csidump(); 939 csidump();
940 /* die(""); */ 940 /* die(""); */
941 break; 941 break;
@@ -1207,7 +1207,7 @@ tputc(char *c) {
1207 term.c.attr.mode &= ~ATTR_GFX; 1207 term.c.attr.mode &= ~ATTR_GFX;
1208 break; 1208 break;
1209 default: 1209 default:
1210 printf("esc unhandled charset: ESC ( %c\n", ascii); 1210 fprintf(stderr, "esc unhandled charset: ESC ( %c\n", ascii);
1211 } 1211 }
1212 term.esc = 0; 1212 term.esc = 0;
1213 } else { 1213 } else {