From dec26eeb7784dd6fe536d838adabb2cfa5034974 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Mon, 4 Jan 2010 21:23:03 +0200 Subject: [PATCH] * mu-cmd: don't print newline when quiet with _cmd_index and _cmd_cleanup --- src/mu-cmd.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/mu-cmd.c b/src/mu-cmd.c index 94128f3d..16668212 100644 --- a/src/mu-cmd.c +++ b/src/mu-cmd.c @@ -378,7 +378,10 @@ _cmd_index (MuConfigOptions *opts) opts->quiet ? NULL : _index_msg_cb, NULL); } - g_print ("\n"); + + if (!opts->quiet) + g_print ("\n"); + mu_index_destroy (midx); } mu_msg_gmime_uninit (); @@ -431,7 +434,10 @@ _cmd_cleanup (MuConfigOptions *opts) NULL); mu_index_destroy (midx); } - g_print ("\n"); + + if (!opts->quiet) + g_print ("\n"); + mu_msg_gmime_uninit (); return rv == MU_OK ? TRUE : FALSE;