diff options
Diffstat (limited to 'templatefile.c')
-rw-r--r-- | templatefile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templatefile.c b/templatefile.c index 166f7bd..686043c 100644 --- a/templatefile.c +++ b/templatefile.c @@ -104,7 +104,8 @@ cTemplLine::~cTemplLine() bool cTemplLine::Parse(char *s) { - if (s && s[0] == '#') + if (!s) return false; + if (s[0] == '#') return true; char *p = strchr(s, '='); if (p) |