diff options
Diffstat (limited to 'src/string_utils.cc')
| -rw-r--r-- | src/string_utils.cc | 2 |
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]; } |
