aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-12-05 01:14:01 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:23:30 +0200
commit3597f35314d4d5f1974c9236dcc427bca5adab7e (patch)
tree68c25ce8ce384760e5d7ac4b974a345388eff81a
parenta670a1ba760841ecc3d493a943c5f184380fc264 (diff)
quote file path with {} in case of spaces or special characters
svn path=/trunk/externals/unauthorized/; revision=16647
-rw-r--r--audience~.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/audience~.c b/audience~.c
index 5f43f2a..da5fbf7 100644
--- a/audience~.c
+++ b/audience~.c
@@ -190,7 +190,7 @@ static void audience_draw_new(t_audience_tilde *x, t_glist *glist)
// create speaker images
for ( ei=0; ei<x->x_nbinputs; ei++ )
{
- SYS_VGUI6("image create photo %xSPEAKER%d -file %s/examples/speaker.gif -format gif -width %d -height %d\n",
+ SYS_VGUI6("image create photo %xSPEAKER%d -file {%s/examples/speaker.gif} -format gif -width %d -height %d\n",
x, ei, audience_class_tilde->c_externdir->s_name, SPEAKER_WIDTH, SPEAKER_HEIGHT );
SYS_VGUI8(".x%lx.c create image %d %d -image %xSPEAKER%d -tags %xISPEAKER%d\n",
canvas,
@@ -204,7 +204,7 @@ static void audience_draw_new(t_audience_tilde *x, t_glist *glist)
// create listener images
for ( ei=0; ei<x->x_nboutputs; ei++ )
{
- SYS_VGUI6("image create photo %xLISTENER%d -file %s/examples/wanderer.gif -format gif -width %d -height %d\n",
+ SYS_VGUI6("image create photo %xLISTENER%d -file {%s/examples/wanderer.gif} -format gif -width %d -height %d\n",
x, ei, audience_class_tilde->c_externdir->s_name, LISTENER_WIDTH, LISTENER_HEIGHT );
SYS_VGUI8(".x%lx.c create image %d %d -image %xLISTENER%d -tags %xILISTENER%d\n",
canvas,