diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-01-16 09:52:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-01-16 09:52:33 +0400 |
commit | ea467d32283c6242d731be8da0ace1e5468e00ff (patch) | |
tree | 384c2514ce0de32dfd25597dcc83302d7f93c897 /source/blender/blenloader | |
parent | fb4ad50cee70931ca390bb82a63c394ffef4d624 (diff) |
use FILE_MAX instead of 240 or comment where define cant be used.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index 6a54817e861..0c05655b8d7 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -14437,7 +14437,7 @@ static void read_libraries(FileData *basefd, ListBase *mainlist) /* allow typing in a new lib path */ if(G.rt==-666) { while(fd==NULL) { - char newlib_path[240] = { 0 }; + char newlib_path[FILE_MAX] = { 0 }; printf("Missing library...'\n"); printf(" current file: %s\n", G.main->name); printf(" absolute lib: %s\n", mainptr->curlib->filepath); |