aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSebastian Herbszt <herbszt@gmx.de>2008-12-14 18:35:07 +0100
committerH. Peter Anvin <hpa@zytor.com>2008-12-14 13:55:14 -0800
commitb2359760f47331b402ba1a074ceacdc734c1c866 (patch)
treee27a339edb86868e62840cea87bf78b42131c91a /core
parente21e66137b454fb3afd50a113de68599dd28de09 (diff)
downloadsyslinux-elf-b2359760f47331b402ba1a074ceacdc734c1c866.tar.gz
syslinux-elf-b2359760f47331b402ba1a074ceacdc734c1c866.tar.xz
syslinux-elf-b2359760f47331b402ba1a074ceacdc734c1c866.zip
Fix the new "UI" directive
The new directive doesn't seem to work here. Looks like DefaultLevel is never changed: core/parseconfig.inc:pc_default: cmp ax,[DefaultLevel] core/parseconfig.inc:DefaultLevel dw 0 ; The current level of default core/ui.inc: cmp word [DefaultLevel],1 ; Active UI statement?
Diffstat (limited to 'core')
-rw-r--r--core/parseconfig.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/parseconfig.inc b/core/parseconfig.inc
index 2fb26fdd..fcf18d9c 100644
--- a/core/parseconfig.inc
+++ b/core/parseconfig.inc
@@ -22,6 +22,7 @@
;
pc_default: cmp ax,[DefaultLevel]
jb .skip
+ mov [DefaultLevel],ax
mov di,default_cmd
call getline
mov byte [di-1],0 ; null-terminate