From 566aad662071f1e8814ee988d76f999d43282d15 Mon Sep 17 00:00:00 2001 From: deadwood Date: Wed, 10 Jun 2015 20:43:30 +0000 Subject: [PATCH] Listtree.mcc: rename variables in Listtree_GetEntry to match the template of other functions git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50811 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/classes/zune/listtree/listtree.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/workbench/classes/zune/listtree/listtree.c b/workbench/classes/zune/listtree/listtree.c index 687cb79ef8..7d9946508e 100644 --- a/workbench/classes/zune/listtree/listtree.c +++ b/workbench/classes/zune/listtree/listtree.c @@ -323,23 +323,23 @@ IPTR Listtree__MUIM_Listtree_Insert(struct IClass *cl, Object *obj, struct MUIP_ IPTR Listtree__MUIM_Listtree_GetEntry(struct IClass *cl, Object *obj, struct MUIP_Listtree_GetEntry *msg) { struct Listtree_DATA *data = INST_DATA(cl, obj); - struct MUI_NListtree_TreeNode * n = NULL; + struct MUI_NListtree_TreeNode * tn = NULL, * found = NULL; switch ((IPTR)msg->Node) { case(MUIV_Listtree_GetEntry_ListNode_Root): case(MUIV_Listtree_GetEntry_ListNode_Active): - n = msg->Node; + tn = msg->Node; break; default: - n = ((struct MUIS_Listtree_TreeNodeInt *)msg->Node)->ref; + tn = ((struct MUIS_Listtree_TreeNodeInt *)msg->Node)->ref; } - struct MUI_NListtree_TreeNode * tn = (struct MUI_NListtree_TreeNode *) DoMethod(data->nlisttree, - MUIM_NListtree_GetEntry, n, msg->Position, msg->Flags); + found = (struct MUI_NListtree_TreeNode *) DoMethod(data->nlisttree, + MUIM_NListtree_GetEntry, tn, msg->Position, msg->Flags); - if (tn) - return (IPTR)tn->tn_User; + if (found) + return (IPTR)found->tn_User; else return (IPTR)NULL; } -- 2.11.4.GIT