From 1f95e1d450fd6400129c465eba9cf3dde6a1276e Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 10 Apr 2008 02:53:03 +0000 Subject: [PATCH] tweak an info message based on BMW's suggestion --- libtransmission/platform.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libtransmission/platform.c b/libtransmission/platform.c index d5a49a6cb..09aaab2e9 100644 --- a/libtransmission/platform.c +++ b/libtransmission/platform.c @@ -412,8 +412,10 @@ moveFiles( const char * oldDir, const char * newDir ) ++count; } } - tr_inf( _( "Migrated %1$d files from \"%2$s\" to \"%3$s\"" ), - count, oldDir, newDir ); + + if( count ) + tr_inf( _( "Migrated %1$d files from \"%2$s\" to \"%3$s\"" ), + count, oldDir, newDir ); closedir( dirh ); } }