From c4882d9a22570672b064fe62cb81e48c651259f5 Mon Sep 17 00:00:00 2001 From: fcolin Date: Tue, 23 Mar 2004 15:53:07 +0000 Subject: *** empty log message *** --- src/ivytcl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/ivytcl.c b/src/ivytcl.c index 68f02f4..81bab2c 100755 --- a/src/ivytcl.c +++ b/src/ivytcl.c @@ -165,7 +165,7 @@ IvyAppCB(IvyClientPtr app, size = strlen(filter->script) + INTEGER_SPACE; if (entry) { - size += strlen(IvyGetApplicationName(app)) + 1; + size += strlen(IvyGetApplicationName(app)) + 3; } else { size += 4; @@ -174,7 +174,9 @@ IvyAppCB(IvyClientPtr app, strcpy(script_to_call, filter->script); strcat(script_to_call, " "); if (entry) { + strcat(script_to_call, " \""); strcat(script_to_call, IvyGetApplicationName(app)); + strcat(script_to_call, "\""); } else { strcat(script_to_call, "???"); -- cgit v1.1