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:
authorTon Roosendaal <ton@blender.org>2006-11-07 19:27:31 +0300
committerTon Roosendaal <ton@blender.org>2006-11-07 19:27:31 +0300
commit7de24b7ea84c04ad5d056471f3b39d3664b00a77 (patch)
tree8dc675db98d3726c5a530b846eed5f439711c37c /source/blender/src/outliner.c
parent0de4c3c0eba8c0759dfd09553a551600b0166ef4 (diff)
MSVC compiler is non-posix for some string operations...
Created a BLI_strcasestr and used existing BLI_strcasecmp in code now.
Diffstat (limited to 'source/blender/src/outliner.c')
-rw-r--r--source/blender/src/outliner.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/outliner.c b/source/blender/src/outliner.c
index 640958bd3ed..673ee677be6 100644
--- a/source/blender/src/outliner.c
+++ b/source/blender/src/outliner.c
@@ -1910,11 +1910,11 @@ static TreeElement *outliner_find_named(SpaceOops *soops, ListBase *lb, char *na
/* determine if match */
if(flags==OL_FIND)
- found= strcasestr(te->name, name)!=NULL;
+ found= BLI_strcasestr(te->name, name)!=NULL;
else if(flags==OL_FIND_CASE)
found= strstr(te->name, name)!=NULL;
else if(flags==OL_FIND_COMPLETE)
- found= strcasecmp(te->name, name)==0;
+ found= BLI_strcasecmp(te->name, name)==0;
else
found= strcmp(te->name, name)==0;