aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Soltys <soltys@ziu.info>2010-08-21 16:45:22 +0200
committerMichal Soltys <soltys@ziu.info>2010-09-28 09:32:52 +0200
commit67ad765a2d6e77f8fd54aed60c8554c7505bd762 (patch)
tree3016eddee2e7677661689ae42518e2bbeceb2b59
parentfd58bc4318f6ff025cd9a7365bf3d3fcc99bae5b (diff)
downloadsyslinux-67ad765a2d6e77f8fd54aed60c8554c7505bd762.tar.gz
syslinux-67ad765a2d6e77f8fd54aed60c8554c7505bd762.tar.xz
syslinux-67ad765a2d6e77f8fd54aed60c8554c7505bd762.zip
chain.c: Always use console_ansi_raw(), not only with DEBUG
Signed-off-by: Michal Soltys <soltys@ziu.info>
-rw-r--r--com32/chain/chain.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/com32/chain/chain.c b/com32/chain/chain.c
index 4f533363..a01254a2 100644
--- a/com32/chain/chain.c
+++ b/com32/chain/chain.c
@@ -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));