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/editors/interface/interface_template_search_operator.c')
-rw-r--r--source/blender/editors/interface/interface_template_search_operator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_template_search_operator.c b/source/blender/editors/interface/interface_template_search_operator.c
index b8070ccbb25..76a6abe22cb 100644
--- a/source/blender/editors/interface/interface_template_search_operator.c
+++ b/source/blender/editors/interface/interface_template_search_operator.c
@@ -91,7 +91,7 @@ static void operator_search_update_fn(const bContext *C,
if (index == words_len) {
if (WM_operator_poll((bContext *)C, ot)) {
char name[256];
- int len = strlen(ot_ui_name);
+ const int len = strlen(ot_ui_name);
/* display name for menu, can hold hotkey */
BLI_strncpy(name, ot_ui_name, sizeof(name));