summaryrefslogtreecommitdiff
path: root/src/deh_main.c
diff options
context:
space:
mode:
authorFabian Greffrath2014-09-08 10:48:56 +0200
committerFabian Greffrath2014-09-08 10:48:56 +0200
commit366f45c10a632443767cbda6f7b2f3d98a60d60b (patch)
treeb4c3429beb8eb0890ae1c6343ed0cfbd12547511 /src/deh_main.c
parent204814c7bb16a8ad45435a15328072681978ea57 (diff)
downloadchocolate-doom-366f45c10a632443767cbda6f7b2f3d98a60d60b.tar.gz
chocolate-doom-366f45c10a632443767cbda6f7b2f3d98a60d60b.tar.bz2
chocolate-doom-366f45c10a632443767cbda6f7b2f3d98a60d60b.zip
add parser for [STRINGS] sections in BEX files
Diffstat (limited to 'src/deh_main.c')
-rw-r--r--src/deh_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/deh_main.c b/src/deh_main.c
index c98962a9..4ab9a8f3 100644
--- a/src/deh_main.c
+++ b/src/deh_main.c
@@ -175,7 +175,7 @@ static boolean CheckSignatures(deh_context_t *context)
// Read the first line
- line = DEH_ReadLine(context);
+ line = DEH_ReadLine(context, false);
if (line == NULL)
{
@@ -244,7 +244,7 @@ static void DEH_ParseContext(deh_context_t *context)
{
// read a new line
- line = DEH_ReadLine(context);
+ line = DEH_ReadLine(context, current_section == GetSectionByName("[STRINGS]"));
// end of file?