From 1d87e2cbac4dc2b6e999b16b1919d50677289d37 Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Sun, 18 Sep 2016 21:29:17 +0200 Subject: [PATCH] refactoring --- gui/auction_listing.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gui/auction_listing.lua b/gui/auction_listing.lua index af1f06d..ff63511 100644 --- a/gui/auction_listing.lua +++ b/gui/auction_listing.lua @@ -1095,7 +1095,7 @@ function public.CreateAuctionResultsTable(parent, config) row.rt = rt row.cells = t - for j=1, getn(rt.config) do + for j = 1, getn(rt.config) do local cell = CreateFrame('Button', nil, row) local text = cell:CreateFontString() text:SetFont(gui.font, min(14, rt.ROW_HEIGHT)) @@ -1120,7 +1120,7 @@ function public.CreateAuctionResultsTable(parent, config) end -- slightly different color for every alternating column - if mod(j,2) == 1 then + if mod(j, 2) == 1 then local tex = cell:CreateTexture() tex:SetAllPoints() tex:SetTexture(.3, .3, .3, .2) @@ -1135,7 +1135,7 @@ function public.CreateAuctionResultsTable(parent, config) end -- slightly different color for every alternating - if mod(i,2) == 0 then + if mod(i, 2) == 0 then local tex = row:CreateTexture() tex:SetAllPoints() tex:SetTexture(.3, .3, .3, .3)