diff options
author | Alexander Ewering <blender@instinctive.de> | 2006-11-18 04:45:47 +0300 |
---|---|---|
committer | Alexander Ewering <blender@instinctive.de> | 2006-11-18 04:45:47 +0300 |
commit | a94925809be8230c40c3d6c0666aa3c58349a2d8 (patch) | |
tree | eaada55a7e0fdb865cf6f17ea07f916bc32261c5 /source/blender/src/filesel.c | |
parent | 41cb8f15eaf8a8db4d2a32a25d3c1c41bff8addd (diff) |
Bugfix for:
http://projects.blender.org/tracker/index.php?func=detail&aid=4786&group_id=9&atid=125
If the path to Blender contained whitespace, various places which called
the Blender executable wouldn't run. Now the path to the executable
should be quoted correctly everywhere.
If this breaks anything on other platforms, please shout :)
Diffstat (limited to 'source/blender/src/filesel.c')
-rw-r--r-- | source/blender/src/filesel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/filesel.c b/source/blender/src/filesel.c index 7d25ca4dc5e..0e76083c08e 100644 --- a/source/blender/src/filesel.c +++ b/source/blender/src/filesel.c @@ -2105,7 +2105,7 @@ void winqreadfilespace(ScrArea *sa, void *spacedata, BWinEvent *evt) if(G.qual & LR_SHIFTKEY) { extern char bprogname[]; /* usiblender.c */ - sprintf(str, "%s -a \"%s%s\"", bprogname, sfile->dir, sfile->file); + sprintf(str, "\"%s\" -a \"%s%s\"", bprogname, sfile->dir, sfile->file); system(str); } else |