summaryrefslogtreecommitdiff
path: root/src/string_utils.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-06-23 11:03:50 +1000
committerMaxime Coste <mawww@kakoune.org>2024-06-23 11:03:50 +1000
commit4a00a6edead9f35ebc5f538cefc35c778e2dbe49 (patch)
tree41433eff8374605168ddb13a88de5f12f05ed613 /src/string_utils.cc
parent6493ddad421bf5376165af5c0f5ab6fe31d77035 (diff)
Fix trailing whitespaces
Diffstat (limited to 'src/string_utils.cc')
-rw-r--r--src/string_utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string_utils.cc b/src/string_utils.cc
index 53d2d455..c614d485 100644
--- a/src/string_utils.cc
+++ b/src/string_utils.cc
@@ -202,7 +202,7 @@ InplaceString<23> to_string(Grouped val)
InplaceString<23> res;
for (int pos = 0, len = ungrouped.m_length; pos != len; ++pos)
{
- if (res.m_length and ((len - pos) % 3) == 0)
+ if (res.m_length and ((len - pos) % 3) == 0)
res.m_data[res.m_length++] = ',';
res.m_data[res.m_length++] = ungrouped.m_data[pos];
}