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:
authorTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-03-20 05:05:37 +0400
committerTamito Kajiyama <rd6t-kjym@asahi-net.or.jp>2013-03-20 05:05:37 +0400
commit1f6c9d18ed3b26b52aa99cd89441d96b63b7f173 (patch)
treec432a3d21f77f63bf1f8764a8b97c6e070710353 /source/blender/makesdna/DNA_freestyle_types.h
parentcde0230a9858ba2c25b886840fbcd076508cb728 (diff)
Fix for MAX_NAME (== 64) and FILE_MAX (== 1024) in DNA headers.
Suggested by Sergey Sharybin through a code review of the branch.
Diffstat (limited to 'source/blender/makesdna/DNA_freestyle_types.h')
-rw-r--r--source/blender/makesdna/DNA_freestyle_types.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_freestyle_types.h b/source/blender/makesdna/DNA_freestyle_types.h
index b5fe7ead936..01b28ca1700 100644
--- a/source/blender/makesdna/DNA_freestyle_types.h
+++ b/source/blender/makesdna/DNA_freestyle_types.h
@@ -90,7 +90,7 @@ struct FreestyleLineStyle;
typedef struct FreestyleLineSet {
struct FreestyleLineSet *next, *prev;
- char name[32]; /* line set name */
+ char name[64]; /* line set name, MAX_NAME */
int flags;
int selection; /* selection criteria */
@@ -107,7 +107,7 @@ typedef struct FreestyleLineSet {
typedef struct FreestyleModuleConfig {
struct FreestyleModuleConfig *next, *prev;
- char module_path[256];
+ char module_path[1024]; /* FILE_MAX */
short is_displayed;
short pad[3];
} FreestyleModuleConfig;