diff options
author | Ton Roosendaal <ton@blender.org> | 2011-03-01 16:56:33 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-03-01 16:56:33 +0300 |
commit | f0f639f8b8414a9574a12b4fcf5b76549524f540 (patch) | |
tree | 14375b15e6953f0313af775bcddcc7f1a35475d8 /source/blender/editors | |
parent | 900199d2158f127d6bbcab7e770e4c110bad12dc (diff) |
Typo in last commit, changing variable name for more readable code...
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/interface/interface.c | 4 |
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) |