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>2013-06-24 07:06:32 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-06-24 07:06:32 +0400
commit423ee06625898d5094bfc78401b2e2204fe7118e (patch)
tree2ab15687962b1700319742ff17dab5dfd35ecf38 /source/blender/blenkernel/intern/blender.c
parent0f4802817340794b50b09daead59c54e33caf09d (diff)
use booleans for bpath api.
Diffstat (limited to 'source/blender/blenkernel/intern/blender.c')
-rw-r--r--source/blender/blenkernel/intern/blender.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/blender.c b/source/blender/blenkernel/intern/blender.c
index 1e7aba6d25b..29a8a615601 100644
--- a/source/blender/blenkernel/intern/blender.c
+++ b/source/blender/blenkernel/intern/blender.c
@@ -170,11 +170,11 @@ static void clear_global(void)
G.main = NULL;
}
-static int clean_paths_visit_cb(void *UNUSED(userdata), char *path_dst, const char *path_src)
+static bool clean_paths_visit_cb(void *UNUSED(userdata), char *path_dst, const char *path_src)
{
strcpy(path_dst, path_src);
BLI_clean(path_dst);
- return (strcmp(path_dst, path_src) == 0) ? FALSE : TRUE;
+ return !STREQ(path_dst, path_src);
}
/* make sure path names are correct for OS */