Add comment to wrap_rows

This commit is contained in:
figec 2015-06-18 21:38:07 +03:00
parent 10140f2138
commit de5a0155fa
1 changed files with 1 additions and 0 deletions

View File

@ -433,6 +433,7 @@ inline std::string wrap_rows(const std::string &from,
if (character_idx > 0 && character_idx % row_len == 0)
need_to_wrap = true;
if (!IS_UTF8_MULTB_INNER(from[i])) {
// Warp string if needed before next char started
if (need_to_wrap) {
to += '\n';
need_to_wrap = false;