summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2008-08-03 16:17:50 +0200
committerLennart Poettering <lennart@poettering.net>2008-08-03 16:31:31 +0200
commit34c435480fc2c6110994efac5ab85e27bcd653d9 (patch)
tree092bdc38b76cba5534370b3ee1177cdebc9be899
parent5916b5bc2d66da7cf4acfac00e5b784c5476df5f (diff)
use @ as seperator between shared name variable and instance
-rw-r--r--src/pulsecore/x11wrap.c3
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);