summaryrefslogtreecommitdiffstats
path: root/src/configimpl.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/configimpl.l')
-rw-r--r--src/configimpl.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configimpl.l b/src/configimpl.l
index 57e7c78..9eda61d 100644
--- a/src/configimpl.l
+++ b/src/configimpl.l
@@ -1090,7 +1090,7 @@ static void substEnvVarsInStrList(StringVector &sl)
}
else if (c==' ' || c=='\t') // separator
{
- results.push_back(result.mid(p,i-p).data());
+ if (i>p) results.push_back(result.mid(p,i-p).data());
p=i+1;
}
}