ref: 6537d7e90c48d76eb982701de8d0af6feb147fd0
parent: c30f4a2f65172a0d358e4c85c7d3270af13b829b
author: Fabian Greffrath <fabian@greffrath.com>
date: Thu Apr 3 12:55:39 EDT 2014
deh_main.c: Fix bogus check in DEH_ParseAssignment() The function would return false on lines without a '=' character, but only if that character is at least the third one on the line. :) Closes #376
--- a/src/deh_main.c
+++ b/src/deh_main.c
@@ -159,7 +159,7 @@
p = strchr(line, '=');
- if (p == NULL && p-line > 2)
+ if (p == NULL)
{
return false;
}