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/editimasel.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/editimasel.c')
-rw-r--r-- | source/blender/src/editimasel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/editimasel.c b/source/blender/src/editimasel.c index 3d2b3c8b715..70572673d43 100644 --- a/source/blender/src/editimasel.c +++ b/source/blender/src/editimasel.c @@ -341,7 +341,7 @@ void winqreadimaselspace(ScrArea *sa, void *spacedata, BWinEvent *evt) if(G.qual & LR_SHIFTKEY) { extern char bprogname[]; /* usiblender.c */ - sprintf(name, "%s -a \"%s%s\"", bprogname, simasel->dir, simasel->file); + sprintf(name, "\"%s\" -a \"%s%s\"", bprogname, simasel->dir, simasel->file); system(name); } if(G.qual & LR_CTRLKEY) { |