mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
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:
parent
d5d89284f2
commit
20b7b13d35
@ -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 ;
|
||||
|
@ -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") ;
|
||||
|
Loading…
Reference in New Issue
Block a user