summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwan Velu <erwan.velu@free.fr>2009-04-13 21:49:00 +0200
committerErwan Velu <erwan.velu@free.fr>2009-04-13 21:49:00 +0200
commit90daf276677e9a3d1823881795eac2f5396889ac (patch)
tree6aeaa9ec3356a55fb69ec22f20d12f084c4d1b04
parent749914a69806ab0c0283e7812df556b07608436b (diff)
downloadsyslinux-90daf276677e9a3d1823881795eac2f5396889ac.tar.gz
hdt: Detect syslinux earlier
Impact: Internal changes Some parameters might be dependant on syslinux's version
-rw-r--r--com32/hdt/hdt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/com32/hdt/hdt.c b/com32/hdt/hdt.c
index 467fe1ca..7e6fb6f7 100644
--- a/com32/hdt/hdt.c
+++ b/com32/hdt/hdt.c
@@ -54,12 +54,12 @@ int main(const int argc, const char *argv[])
/* Cleaning structures */
init_hardware(&hardware);
- /* Detecting parameters */
- detect_parameters(argc, argv, &hardware);
-
/* Detecting Syslinux version */
detect_syslinux(&hardware);
+ /* Detecting parameters */
+ detect_parameters(argc, argv, &hardware);
+
console_ansi_raw();
/* Opening the Syslinux console */
// openconsole(&dev_stdcon_r, &dev_ansicon_w);