From 248c1bda02236cec6bd53de35ccff22ce78bdd33 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Fri, 26 Dec 2014 10:53:30 +0000 Subject: [PATCH] Style tweak --- src/main.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cc b/src/main.cc index f6c6c747..e80f5717 100644 --- a/src/main.cc +++ b/src/main.cc @@ -63,9 +63,10 @@ void register_env_vars() String res; for (auto& buf : BufferManager::instance()) { - res += buf->display_name() + ":"; + if (not res.empty()) + res += ":"; + res += buf->display_name(); } - res.pop_back(); return res; } }, { "timestamp",