Stefan Schuermans commited on 2011-12-22 17:29:20
Showing 1 changed files, with 1 additions and 1 deletions.
| ... | ... |
@@ -118,7 +118,7 @@ bool StringParser::untilDelim(const std::string &delim, bool empty, |
| 118 | 118 |
std::string &str) |
| 119 | 119 |
{
|
| 120 | 120 |
str.clear(); |
| 121 |
- while (m_it != m_str.end() && delim.find(*m_it) != std::string::npos) {
|
|
| 121 |
+ while (m_it != m_str.end() && delim.find(*m_it) == std::string::npos) {
|
|
| 122 | 122 |
str += *m_it; |
| 123 | 123 |
++m_it; |
| 124 | 124 |
} |
| 125 | 125 |