From 0918efd02d2ebe161d4170cb37eb505c6b73d535 Mon Sep 17 00:00:00 2001 From: Japa Date: Thu, 16 Jun 2016 20:52:16 +0530 Subject: [PATCH] fix word_wrap not returning a value. --- library/MiscUtils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/library/MiscUtils.cpp b/library/MiscUtils.cpp index 43fb5ef48..5348086c1 100644 --- a/library/MiscUtils.cpp +++ b/library/MiscUtils.cpp @@ -151,6 +151,7 @@ bool word_wrap(std::vector *out, const std::string &str, size_t lin if (out_line.length()) out->push_back(out_line); } + return true; } bool prefix_matches(const std::string &prefix, const std::string &key, std::string *tail)