chain.c: Always use console_ansi_raw(), not only with DEBUG
authorMichal Soltys <soltys@ziu.info>
Sat, 21 Aug 2010 14:45:22 +0000 (16:45 +0200)
committerMichal Soltys <soltys@ziu.info>
Tue, 28 Sep 2010 07:32:52 +0000 (09:32 +0200)
Signed-off-by: Michal Soltys <soltys@ziu.info>
com32/chain/chain.c

index 4f53336..a01254a 100644 (file)
@@ -23,6 +23,7 @@
 #include <ctype.h>
 #include <string.h>
 #include <console.h>
+#include <consoles.h>
 #include <minmax.h>
 #include <stdbool.h>
 #include <dprintf.h>
@@ -1271,11 +1272,8 @@ int main(int argc, char *argv[])
     struct data_area data[3];
     int ndata = 0, fidx = -1, sidx = -1;
 
-#ifdef DEBUG
     console_ansi_raw();
-#else
-    openconsole(&dev_null_r, &dev_stdcon_w);
-#endif
+/*    openconsole(&dev_null_r, &dev_stdcon_w);*/
 
     /* Prepare and set defaults */
     memset(&opt, 0, sizeof(opt));