Skip to content

Commit 0918efd

Browse files
committed
fix word_wrap not returning a value.
1 parent 27a84a8 commit 0918efd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

library/MiscUtils.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ bool word_wrap(std::vector<std::string> *out, const std::string &str, size_t lin
151151
if (out_line.length())
152152
out->push_back(out_line);
153153
}
154+
return true;
154155
}
155156

156157
bool prefix_matches(const std::string &prefix, const std::string &key, std::string *tail)

0 commit comments

Comments
 (0)