aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/StringUtil.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/StringUtil.hh')
-rw-r--r--src/FbTk/StringUtil.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/StringUtil.hh b/src/FbTk/StringUtil.hh
index 75fa69e..35f23a2 100644
--- a/src/FbTk/StringUtil.hh
+++ b/src/FbTk/StringUtil.hh
@@ -84,7 +84,7 @@ static void stringTokensBetween(Container &container, const std::string &in,
84 while (true) { 84 while (true) {
85 err = getStringBetween(token, in.c_str() + pos, first, last, ok_chars, 85 err = getStringBetween(token, in.c_str() + pos, first, last, ok_chars,
86 allow_nesting); 86 allow_nesting);
87 if (err == 0) 87 if (err <= 0)
88 break; 88 break;
89 container.push_back(token); 89 container.push_back(token);
90 pos += err; 90 pos += err;