aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/FbTk/StringUtil.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FbTk/StringUtil.hh b/src/FbTk/StringUtil.hh
index b3908d8..2f7c6fc 100644
--- a/src/FbTk/StringUtil.hh
+++ b/src/FbTk/StringUtil.hh
@@ -98,10 +98,10 @@ static void stringTokensBetween(Container &container, const std::string &in,
98 const char *ok_chars = " \t\n", bool allow_nesting = true) { 98 const char *ok_chars = " \t\n", bool allow_nesting = true) {
99 99
100 std::string token; 100 std::string token;
101 int err = 0, pos = 0; 101 int pos = 0;
102 102
103 while (true) { 103 while (true) {
104 err = getStringBetween(token, in.c_str() + pos, first, last, ok_chars, 104 int err = getStringBetween(token, in.c_str() + pos, first, last, ok_chars,
105 allow_nesting); 105 allow_nesting);
106 if (err <= 0) 106 if (err <= 0)
107 break; 107 break;