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:
authorTon Roosendaal <ton@blender.org>2011-03-01 16:56:33 +0300
committerTon Roosendaal <ton@blender.org>2011-03-01 16:56:33 +0300
commitf0f639f8b8414a9574a12b4fcf5b76549524f540 (patch)
tree14375b15e6953f0313af775bcddcc7f1a35475d8 /source/blender/editors/interface
parent900199d2158f127d6bbcab7e770e4c110bad12dc (diff)
Typo in last commit, changing variable name for more readable code...
Diffstat (limited to 'source/blender/editors/interface')
-rw-r--r--source/blender/editors/interface/interface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c
index a9a7eff1685..c7182eded18 100644
--- a/source/blender/editors/interface/interface.c
+++ b/source/blender/editors/interface/interface.c
@@ -514,9 +514,9 @@ static void ui_but_update_linklines(uiBlock *block, uiBut *oldbut, uiBut *newbut
uiBut *but;
/* if active button is LINK */
- if(but->type==LINK && but->link) {
+ if(newbut->type==LINK && newbut->link) {
- SWAP(uiLink *, oldbut->link, but->link);
+ SWAP(uiLink *, oldbut->link, newbut->link);
for(line= oldbut->link->lines.first; line; line= line->next) {
if(line->to==newbut)