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/windowmanager/intern/wm_menu_type.c')
-rw-r--r--source/blender/windowmanager/intern/wm_menu_type.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/windowmanager/intern/wm_menu_type.c b/source/blender/windowmanager/intern/wm_menu_type.c
index 76bd36885fd..f466ac44939 100644
--- a/source/blender/windowmanager/intern/wm_menu_type.c
+++ b/source/blender/windowmanager/intern/wm_menu_type.c
@@ -45,12 +45,14 @@ MenuType *WM_menutype_find(const char *idname, bool quiet)
if (idname[0]) {
mt = BLI_ghash_lookup(menutypes_hash, idname);
- if (mt)
+ if (mt) {
return mt;
+ }
}
- if (!quiet)
+ if (!quiet) {
printf("search for unknown menutype %s\n", idname);
+ }
return NULL;
}