Version 0.9.2.5 - Alpha (see changelog.txt)

This commit is contained in:
Kenny Shields 2012-06-01 00:10:29 -04:00
parent fd2637e7d9
commit 92869bcd22
3 changed files with 12 additions and 2 deletions

View File

@ -1,5 +1,11 @@
================================================ ================================================
Version 0.9.2.4 - Alpha (May 27 - 2012) Version 0.9.2.5 - Alpha (June 1 - 2012)
================================================
[FIXED] the text object not drawing numbers in certain situations
[FIXED] a typo in the changelog
================================================
Version 0.9.2.4 - Alpha (May 29 - 2012)
================================================ ================================================
[FIXED] the SetSkin(skin) method causing a stack overflow [FIXED] the SetSkin(skin) method causing a stack overflow

View File

@ -9,7 +9,7 @@ loveframes = {}
-- library info -- library info
loveframes.info = {} loveframes.info = {}
loveframes.info.author = "Nikolai Resokav" loveframes.info.author = "Nikolai Resokav"
loveframes.info.version = "0.9.2.4" loveframes.info.version = "0.9.2.5"
loveframes.info.stage = "Alpha" loveframes.info.stage = "Alpha"
-- library configurations -- library configurations

View File

@ -122,6 +122,10 @@ function text:SetText(t)
if dtype == "table" then if dtype == "table" then
prevcolor = v prevcolor = v
elseif dtype == "number" then
table.insert(self.text, {color = prevcolor, text = tostring(v)})
elseif dtype == "string" then elseif dtype == "string" then
v = v:gsub(string.char(9), " ") v = v:gsub(string.char(9), " ")