diff options
author | H. Peter Anvin <hpa@zytor.com> | 2007-02-27 22:47:32 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2007-02-27 22:47:32 -0800 |
commit | 26d94271ebf3f0463d09d7009fa83a9e2705fed8 (patch) | |
tree | 0e9b32322b5068329a078e9d505d4814cc2662c3 | |
parent | d173045be2c578565e2e50719c510bb2f38b0d9a (diff) | |
download | syslinux-3.40-pre8.tar.gz |
Teach the menu system to ignore TEXT blocks for now.syslinux-3.40-pre8
-rw-r--r-- | com32/modules/readconfig.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/com32/modules/readconfig.c b/com32/modules/readconfig.c index 5489c72d..6dd0cb3e 100644 --- a/com32/modules/readconfig.c +++ b/com32/modules/readconfig.c @@ -528,6 +528,16 @@ static void parse_config_file(FILE *f) } } } + } else if ( looking_at(p, "text") ) { + p = skipspace(p+4); + + /* p points to the TEXT command */ + + while ( fgets(line, sizeof line, f) ) { + p = skipspace(line); + if (looking_at(p, "endtext")) + break; + } } else if ( looking_at(p, "append") ) { char *a = strdup(skipspace(p+6)); if ( ld.label ) |