[pulseaudio-commits] Branch 'next' - src/pulsecore

Tanu Kaskinen tanuk at kemper.freedesktop.org
Thu May 16 07:10:26 PDT 2013


 src/pulsecore/cli-text.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 91aac5343cabdd2c6207db6223525996fba81756
Author: Peter Meerwald <p.meerwald at bct-electronic.com>
Date:   Wed May 15 17:49:42 2013 +0200

    cli: Fix plural in caption of source-outputs list
    
    $ pacmd list-source-outputs
    >>> 4 source outputs(s) available.
    
    outputs(s) makes no sense
    
    Signed-off-by: Peter Meerwald <p.meerwald at bct-electronic.com>

diff --git a/src/pulsecore/cli-text.c b/src/pulsecore/cli-text.c
index 963f130..85c97b3 100644
--- a/src/pulsecore/cli-text.c
+++ b/src/pulsecore/cli-text.c
@@ -486,7 +486,7 @@ char *pa_source_output_list_to_string(pa_core *c) {
 
     s = pa_strbuf_new();
 
-    pa_strbuf_printf(s, "%u source outputs(s) available.\n", pa_idxset_size(c->source_outputs));
+    pa_strbuf_printf(s, "%u source output(s) available.\n", pa_idxset_size(c->source_outputs));
 
     PA_IDXSET_FOREACH(o, c->source_outputs, idx) {
         char ss[PA_SAMPLE_SPEC_SNPRINT_MAX], cvdb[PA_SW_CVOLUME_SNPRINT_DB_MAX], cv[PA_CVOLUME_SNPRINT_MAX], cm[PA_CHANNEL_MAP_SNPRINT_MAX], *t, clt[28];



More information about the pulseaudio-commits mailing list