programs/ : Minor console output fixes.

* programs/common.c : Remove copy/paste cruft.
* programs/sndfile-play.c : Fix inconsistent indentation.

Patch-from: Jan Stary <hans@stare.cz>
This commit is contained in:
Erik de Castro Lopo 2014-11-11 06:13:28 -08:00
parent d5d89284f2
commit 20b7b13d35
2 changed files with 1 additions and 4 deletions

View File

@ -373,9 +373,6 @@ program_name (const char * argv0)
tmp = strrchr (argv0, '/') ;
argv0 = tmp ? tmp + 1 : argv0 ;
tmp = strrchr (argv0, '/') ;
argv0 = tmp ? tmp + 1 : argv0 ;
/* Remove leading libtool name mangling. */
if (strstr (argv0, "lt-") == argv0)
return argv0 + 3 ;

View File

@ -1160,7 +1160,7 @@ main (int argc, char *argv [])
if (argc < 2)
{
printf ("\nUsage : %s <input sound file>\n\n", program_name (argv [0])) ;
printf (" Using %s.\n\n", sf_version_string ()) ;
printf ("Using %s.\n\n", sf_version_string ()) ;
#if (OS_IS_WIN32 == 1)
printf ("This is a Unix style command line application which\n"
"should be run in a MSDOS box or Command Shell window.\n\n") ;