use @ as seperator between shared name variable and instance
authorLennart Poettering <lennart@poettering.net>
Sun, 3 Aug 2008 14:17:50 +0000 (16:17 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 3 Aug 2008 14:31:31 +0000 (16:31 +0200)
src/pulsecore/x11wrap.c

index 1519aa8669cc9515e59fec97a6392480df111e60..353b120b5c746a266385d19fe05cbaac13408cf4 100644 (file)
@@ -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);