From 3597f35314d4d5f1974c9236dcc427bca5adab7e Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 5 Dec 2012 01:14:01 +0000 Subject: quote file path with {} in case of spaces or special characters svn path=/trunk/externals/unauthorized/; revision=16647 --- audience~.c | 4 ++-- 1 file 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; eix_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; eix_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, -- cgit v1.2.1