Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Weikert <elubie@gmx.net>2008-03-30 20:18:01 +0400
committerAndrea Weikert <elubie@gmx.net>2008-03-30 20:18:01 +0400
commitd9de141077873c9379d0bd6ea745b60f5180c4d2 (patch)
tree36c40794cad938487904814b022f886b9eef9cc9 /source/blender/src/header_imasel.c
parentcc4858cde045d17cef5ea9c847484e3168364bd4 (diff)
== bugfix ==
fix for [#6950] Blender crashes when .blog file top line is 160 characters or more - made sure BLI_convertstringcode doesn't return more than 240 chars - went through all callers and fixed places where string passed to BLI_convertstringcode was too short - TODO: look into increasing sample->name and sound->name too, I prevented crashes, but filename might get shortened.
Diffstat (limited to 'source/blender/src/header_imasel.c')
-rw-r--r--source/blender/src/header_imasel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/header_imasel.c b/source/blender/src/header_imasel.c
index 8650d620cc0..fc7ec681ad9 100644
--- a/source/blender/src/header_imasel.c
+++ b/source/blender/src/header_imasel.c
@@ -104,7 +104,7 @@ void imasel_buttons(void)
uiBlock *block;
short xco, xcotitle;
char naam[256];
- char dir[FILE_MAXDIR], group[32];
+ char dir[FILE_MAX], group[32];
short type;
int do_filter = 0;