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>2014-09-14 11:26:45 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-09-14 11:27:31 +0400
commit432d274990d46f54d2d27cb0a8a351ecd2de4491 (patch)
tree08f260bae583a369b6b47e96f6753af90e3d16ac /source/blender/editors/interface/interface_handlers.c
parent1c9b80320f9fb203f8f7c71814c5e5efa80e28f3 (diff)
Cleanup & typo in assignment
Diffstat (limited to 'source/blender/editors/interface/interface_handlers.c')
-rw-r--r--source/blender/editors/interface/interface_handlers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c
index d3c889713fb..33bb46ced7f 100644
--- a/source/blender/editors/interface/interface_handlers.c
+++ b/source/blender/editors/interface/interface_handlers.c
@@ -1967,7 +1967,7 @@ static int ui_text_position_from_hidden(uiBut *but, int pos)
static int ui_text_position_to_hidden(uiBut *but, int pos)
{
- const char *butstr = butstr = (but->editstr) ? but->editstr : but->drawstr;
+ const char *butstr = (but->editstr) ? but->editstr : but->drawstr;
return BLI_strnlen_utf8(butstr, pos);
}