(wrong string) élien Aptel

From: <hg_AT_suckless.org>
Date: Thu, 16 Feb 2012 01:07:14 +0100 (CET)

changeset: 238:e4ca475f90ab
user: Aurélien Aptel <aurelien.aptel_AT_gmail.com>
date: Thu Feb 16 00:59:26 2012 +0100
files: st.c
description:
replace fwrite by printf.


diff -r f79eab7767e3 -r e4ca475f90ab st.c
--- a/st.c Thu Feb 16 00:58:16 2012 +0100
+++ b/st.c Thu Feb 16 00:59:26 2012 +0100
_AT_@ -1388,7 +1388,7 @@
 void
 csidump(void) {
         int i;
- fwrite("ESC[", 1, 4, stdout);
+ printf("ESC[");
         for(i = 0; i < escseq.len; i++) {
                 uint c = escseq.buf[i] & 0xff;
                 if(isprint(c)) putchar(c);
Received on Thu Feb 16 2012 - 01:07:14 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 16 2012 - 01:12:09 CET