summaryrefslogtreecommitdiff
path: root/src/string.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/string.hh')
-rw-r--r--src/string.hh1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/string.hh b/src/string.hh
index 2a384cde..70a95374 100644
--- a/src/string.hh
+++ b/src/string.hh
@@ -113,7 +113,6 @@ public:
}
explicit String(Codepoint cp, ColumnCount count)
{
- kak_assert(count % codepoint_width(cp) == 0);
int cp_count = (int)(count / std::max(codepoint_width(cp), 1_col));
reserve(utf8::codepoint_size(cp) * cp_count);
while (cp_count-- > 0)