From 8d8ee5c9fabff0931f622e7db05ad8c28ddfc76d Mon Sep 17 00:00:00 2001 From: Arcidayne <9382522b@opayq.com> Date: Mon, 11 Apr 2016 12:56:46 -0400 Subject: [PATCH] Quick fixes. --- Auction_Utilities/Auction_Utilities.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Auction_Utilities/Auction_Utilities.xml b/Auction_Utilities/Auction_Utilities.xml index d564c77..e9e2c2f 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.2" + version="2.3" > 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:len()) < sl then + if (spl+string.len(ls)) < sl then ts = string.rep(" ", sl-(spl+ls)) end ColourTell(RGBColourToName(v.textcolour), RGBColourToName(v.backcolour), ls)