Lua - fix gui.drawText() (and gui.drawString)

This commit is contained in:
adelikat 2014-03-23 17:24:06 +00:00
parent 1226603697
commit 54363e4da1
1 changed files with 1 additions and 1 deletions

View File

@ -530,7 +530,7 @@ namespace BizHawk.Client.EmuHawk
}
var font = new Font(family, fontsize ?? 12, fstyle, GraphicsUnit.Pixel);
g.DrawString(message, font, GetBrush(color ?? "white"), LuaInt(x), LuaInt(y));
g.DrawString(message, font, GetBrush(color ?? "white"), x, y);
}
catch (Exception)
{