From 08089a7a95560358e1882dd2cc40b6fbad3f260b Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Tue, 9 Aug 2016 01:30:23 +0200 Subject: [PATCH] refactoring --- tables/auction_listing.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tables/auction_listing.lua b/tables/auction_listing.lua index a6e6747..b3a12d8 100644 --- a/tables/auction_listing.lua +++ b/tables/auction_listing.lua @@ -1001,13 +1001,13 @@ function public.CreateAuctionResultsTable(parent, config) local rt = CreateFrame('Frame', rtName, parent) rt.config = config local numRows = 16 - rt.ROW_HEIGHT = (parent:GetHeight() - HEAD_HEIGHT-HEAD_SPACE) / numRows + rt.ROW_HEIGHT = (parent:GetHeight() - HEAD_HEIGHT - HEAD_SPACE) / numRows rt.scrollDisabled = nil rt.expanded = {} rt.handlers = {} rt.sorts = {} rt.records = {} - rt.rowInfo = { numDisplayRows=0 } + rt.rowInfo = {numDisplayRows=0} for name, func in methods do rt[name] = func