Commit: ad77e7c853fca2647de4458a59aa57d84c5ff0e0
Author: Mateusz Grzeliński
Date: Sun Aug 16 17:06:01 2020 +0200
Branches: soc-2020-info-editor
https://developer.blender.org/rBad77e7c853fca2647de4458a59aa57d84c5ff0e0
Cleanup: fix formatting
===================================================================
M source/blender/editors/space_info/info_utils.c
===================================================================
diff --git a/source/blender/editors/space_info/info_utils.c
b/source/blender/editors/space_info/info_utils.c
index 885d5bd5503..20d5f746eb7 100644
--- a/source/blender/editors/space_info/info_utils.c
+++ b/source/blender/editors/space_info/info_utils.c
@@ -51,13 +51,13 @@ bool info_match_string_filter(const char *search_pattern,
const char *string,
const bool use_match_case,
const bool use_match_glob,
-const bool use_reverse_match)
+ const bool use_reverse_match)
{
-if (STREQ(search_pattern, "")) {
+ if (STREQ(search_pattern, "")) {
return true;
}
if (!use_match_glob) {
- char *(*compare_func)(const char *, const char *) = use_match_case ?
strstr : BLI_strcasestr ;
+ char *(*compare_func)(const char *, const char *) = use_match_case ?
strstr : BLI_strcasestr;
bool result = compare_func(string, search_pattern) != NULL;
if (use_reverse_match) {
return !result;
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs