diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-12 17:16:30 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-12 17:16:30 +0400 |
commit | 9f2443293e81b206b782ea320e28c9255f471b42 (patch) | |
tree | 8701a9805332f3e6eed3fd87b7400ae75bd5d973 /source/blender/editors/render | |
parent | 83a161985fb7b08358190ac50078515e5c65b0c8 (diff) |
replace fixed sizes with sizeof when passing string length since size wasn't always correct.
Diffstat (limited to 'source/blender/editors/render')
-rw-r--r-- | source/blender/editors/render/render_preview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/render/render_preview.c b/source/blender/editors/render/render_preview.c index 86328ca2a64..3e34a55a3d9 100644 --- a/source/blender/editors/render/render_preview.c +++ b/source/blender/editors/render/render_preview.c @@ -104,7 +104,7 @@ ImBuf* get_brush_icon(Brush *brush) { static const int flags = IB_rect|IB_multilayer|IB_metadata; - char path[240]; + char path[FILE_MAX]; char *folder; if (!(brush->icon_imbuf)) { |