summaryrefslogtreecommitdiff
path: root/src/post.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/post.cc')
-rw-r--r--src/post.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/post.cc b/src/post.cc
index 9b416434..90c10a3b 100644
--- a/src/post.cc
+++ b/src/post.cc
@@ -195,7 +195,8 @@ namespace {
string name = env->reported_account()->fullname();
if (env.has(0) && env.get<long>(0) > 2)
- name = format_t::truncate(name, env.get<long>(0) - 2, true);
+ name = format_t::truncate(name, env.get<long>(0) - 2,
+ 2 /* account_abbrev_length */);
if (env->has_flags(POST_VIRTUAL)) {
if (env->must_balance())