diff --git a/Auction_Utilities/Auction_Utilities.xml b/Auction_Utilities/Auction_Utilities.xml index 2b9716c..d564c77 100644 --- a/Auction_Utilities/Auction_Utilities.xml +++ b/Auction_Utilities/Auction_Utilities.xml @@ -15,7 +15,7 @@ save_state="y" date_written="2016-03-29 14:40:46" requires="4.80" - version="2.1" + version="2.2" > if v.text:gsub(" ", "") == "%1" then local st, sl, spl = string.find(v.text, "[^%s]"), string.len(v.text), string.len("%1") local ls, ts = string.rep(" ", st-1), "" - if (spl+ls:()) < sl then + if (spl+ls:len()) < sl then ts = string.rep(" ", sl-(spl+ls)) end ColourTell(RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), ls)