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:
authorCampbell Barton <ideasman42@gmail.com>2008-02-27 13:02:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2008-02-27 13:02:40 +0300
commit086e8b9b8fee1182f6880f9fc1025d7c8c99b7c4 (patch)
tree183b512b4413a9e87560ae571882f8a136cc0288 /source/blender/python/BPY_menus.c
parentb226eb925b7306486e55998c790a3376c177bbef (diff)
Bugfix [#8328] Python scripts from user defined location doesn't load
http://projects.blender.org/tracker/index.php?func=detail&aid=8328&group_id=9&atid=125 last commit had mistakes but tested this to fix the bug. - Cam
Diffstat (limited to 'source/blender/python/BPY_menus.c')
-rw-r--r--source/blender/python/BPY_menus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/BPY_menus.c b/source/blender/python/BPY_menus.c
index 44c2157ad3b..202c4e40b51 100644
--- a/source/blender/python/BPY_menus.c
+++ b/source/blender/python/BPY_menus.c
@@ -938,7 +938,7 @@ static int bpymenu_GetStatMTime( const char *name, int is_file, time_t * mtime )
struct stat st;
int result;
-#ifdef win32
+#ifdef WIN32
if (is_file) {
result = stat( name, &st );
} else {