fix word_wrap not returning a value.

develop
Japa 2016-06-16 20:52:16 +05:30
parent 27a84a8246
commit 0918efd02d
1 changed files with 1 additions and 0 deletions

@ -151,6 +151,7 @@ bool word_wrap(std::vector<std::string> *out, const std::string &str, size_t lin
if (out_line.length()) if (out_line.length())
out->push_back(out_line); out->push_back(out_line);
} }
return true;
} }
bool prefix_matches(const std::string &prefix, const std::string &key, std::string *tail) bool prefix_matches(const std::string &prefix, const std::string &key, std::string *tail)