diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-01-31 14:58:17 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-01-31 14:58:17 -0800 |
commit | dbc9c2da4332a308fd70a1fe055528204e0bb789 (patch) | |
tree | dfe825dc2a4e33116b6b934bbac68f804ea15316 | |
parent | 83d6652a6233930eccf5973dccf10f0eba5af5b2 (diff) | |
download | syslinux-elf-dbc9c2da4332a308fd70a1fe055528204e0bb789.tar.gz syslinux-elf-dbc9c2da4332a308fd70a1fe055528204e0bb789.tar.xz syslinux-elf-dbc9c2da4332a308fd70a1fe055528204e0bb789.zip |
parseconfig.inc: use "skipline" where appropriate
Use "skipline" where appropriate instead of reading into the trackbuf.
-rw-r--r-- | core/parseconfig.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/parseconfig.inc b/core/parseconfig.inc index d2c452b6..2f0db489 100644 --- a/core/parseconfig.inc +++ b/core/parseconfig.inc @@ -291,7 +291,7 @@ pc_serial: call getint ret ; -; Store mangled filename command +; Store mangled filename command (F-keys, "initrd") ; pc_filename: push ax call pc_getline @@ -344,7 +344,7 @@ pc_say: call pc_getline ; "say" command ; ; "text" command; ignore everything until we get an "endtext" line ; -pc_text: call pc_getline ; Ignore rest of line +pc_text: call skipline ; Ignore rest of line .loop: call pc_getline jc .eof |