actually use the tile

develop
Myk Taylor 2023-02-01 14:51:46 -08:00
parent e442e23589
commit 55d07a8cae
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 1 additions and 1 deletions

@ -1112,7 +1112,7 @@ function render_text(obj,dc,x0,y0,pen,dpen,disabled)
if dc then
local tile_pen = tonumber(token.tile) and
to_pen{tile=token.tile} or token.tile
dc:char(nil, token.tile)
dc:char(nil, tile_pen)
if token.width then
dc:advance(token.width-1)
end