From 10041fd1a9762ffdce1658b4879cc9140e113a88 Mon Sep 17 00:00:00 2001 From: Harm Geerts Date: Tue, 8 Mar 2011 02:30:52 +0100 Subject: [PATCH] redo it the right way --- GnomishVendorShrinker.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GnomishVendorShrinker.lua b/GnomishVendorShrinker.lua index cdb6716..5af86dd 100644 --- a/GnomishVendorShrinker.lua +++ b/GnomishVendorShrinker.lua @@ -168,7 +168,7 @@ local rows = {} for i=1,NUMROWS do local row = CreateFrame('Button', nil, GVS) -- base frame row:SetHeight(ROWHEIGHT) - row:SetPoint("TOP", r == 1 and GVS or rows[r-1], r == 1 and "TOP" or "BOTTOM") + row:SetPoint("TOP", i == 1 and GVS or rows[i-1], i == 1 and "TOP" or "BOTTOM") row:SetPoint("LEFT") row:SetPoint("RIGHT", -19, 0)