diff options
author | Lennart Poettering <lennart@poettering.net> | 2008-08-03 16:17:50 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2008-08-03 16:31:31 +0200 |
commit | 34c435480fc2c6110994efac5ab85e27bcd653d9 (patch) | |
tree | 092bdc38b76cba5534370b3ee1177cdebc9be899 | |
parent | 5916b5bc2d66da7cf4acfac00e5b784c5476df5f (diff) |
use @ as seperator between shared name variable and instance
-rw-r--r-- | src/pulsecore/x11wrap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pulsecore/x11wrap.c b/src/pulsecore/x11wrap.c index 1519aa86..353b120b 100644 --- a/src/pulsecore/x11wrap.c +++ b/src/pulsecore/x11wrap.c @@ -223,7 +223,8 @@ pa_x11_wrapper* pa_x11_wrapper_get(pa_core *c, const char *name) { pa_core_assert_ref(c); - pa_snprintf(t, sizeof(t), "x11-wrapper%s%s", name ? "-" : "", name ? name : ""); + pa_snprintf(t, sizeof(t), "x11-wrapper%s%s", name ? "@" : "", name ? name : ""); + if ((w = pa_shared_get(c, t))) return pa_x11_wrapper_ref(w); |