aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Ramsay <i.am@jimramsay.com>2009-04-06 21:25:01 (GMT)
committerJim Ramsay <i.am@jimramsay.com>2009-05-26 20:27:31 (GMT)
commita56e409b1fdf8a4a388dfe61e770bf4e8f4c0d8e (patch)
tree087f61451ce85ba4577ba6799801b63f10cdc0bc /src
parentba5d30f4ce29e8d6a9a5ed4b0e28b4f567ebe266 (diff)
downloadfluxbox-a56e409b1fdf8a4a388dfe61e770bf4e8f4c0d8e.zip
fluxbox-a56e409b1fdf8a4a388dfe61e770bf4e8f4c0d8e.tar.bz2
Exit loop for unterminated { } pair
Diffstat (limited to 'src')
-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;