diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-10-23 09:56:55 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-10-23 09:56:55 +0400 |
commit | 0664868aec515111fe419a7ec73c19441cd1e19d (patch) | |
tree | f86bcb40196ccacece9e12f71e2780cebb8abb9e /source/blender/editors | |
parent | e58eb5db6f7340494ceeabafe9e7d04377122d70 (diff) |
BLI_make_file_string wasn't guaranteed to initialize the resulting path, some parts of the code accounted for this but most not, always initialize the string to "".
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/render/render_preview.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/render/render_preview.c b/source/blender/editors/render/render_preview.c index 697cddfcee0..af2cd431a10 100644 --- a/source/blender/editors/render/render_preview.c +++ b/source/blender/editors/render/render_preview.c @@ -122,8 +122,6 @@ ImBuf* get_brush_icon(Brush *brush) if (!(brush->icon_imbuf)) { folder= BLI_get_folder(BLENDER_DATAFILES, "brushicons"); - path[0]= 0; - BLI_make_file_string(G.main->name, path, folder, brush->icon_filepath); if (path[0]) |