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:
Diffstat (limited to 'source/blender/blenlib/intern/string.c')
-rw-r--r--source/blender/blenlib/intern/string.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/blenlib/intern/string.c b/source/blender/blenlib/intern/string.c
index fd0b7e13a66..c344d8c0711 100644
--- a/source/blender/blenlib/intern/string.c
+++ b/source/blender/blenlib/intern/string.c
@@ -220,10 +220,10 @@ int BLI_strcaseeq(const char *a, const char *b)
/* strcasestr not available in MSVC */
char *BLI_strcasestr(const char *s, const char *find)
{
- register char c, sc;
- register size_t len;
+ register char c, sc;
+ register size_t len;
- if ((c = *find++) != 0) {
+ if ((c = *find++) != 0) {
c= tolower(c);
len = strlen(find);
do {
@@ -234,8 +234,8 @@ char *BLI_strcasestr(const char *s, const char *find)
} while (sc != c);
} while (BLI_strncasecmp(s, find, len) != 0);
s--;
- }
- return ((char *) s);
+ }
+ return ((char *) s);
}