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-11-19 20:38:18 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-11-19 20:40:10 +0400
commit1ea47c9af9bf707d7ddb36c88425636ac35e0fc8 (patch)
tree0439da09aa8ee0417a89240b45fa569ffa8899e0 /source/blender/editors/interface/interface.c
parent780459e40646e99b555fee7062ace7386dc845fd (diff)
Code Cleanup: style, spelling and pep8 edits
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r--source/blender/editors/interface/interface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index 6ee097b066f..83b100db1b2 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -3242,7 +3242,8 @@ int autocomplete_end(AutoComplete *autocpl, char *autoname)
if (autocpl->truncate[0]) {
if (autocpl->matches == 1) {
match = AUTOCOMPLETE_FULL_MATCH;
- } else {
+ }
+ else {
match = AUTOCOMPLETE_PARTIAL_MATCH;
}
BLI_strncpy(autoname, autocpl->truncate, autocpl->maxlen);