lualoader: Use string literal \xNN instead of string.char()
This commit is contained in:
parent
cb4fbe4ebb
commit
972c7fcd3f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=330263
@ -313,13 +313,13 @@ function drawer.drawbox()
|
|||||||
local w = drawer.box_pos_dim.w
|
local w = drawer.box_pos_dim.w
|
||||||
local h = drawer.box_pos_dim.h
|
local h = drawer.box_pos_dim.h
|
||||||
|
|
||||||
local hl = string.char(0xCD)
|
local hl = "\xCD"
|
||||||
local vl = string.char(0xBA)
|
local vl = "\xBA"
|
||||||
|
|
||||||
local tl = string.char(0xC9)
|
local tl = "\xC9"
|
||||||
local bl = string.char(0xC8)
|
local bl = "\xC8"
|
||||||
local tr = string.char(0xBB)
|
local tr = "\xBB"
|
||||||
local br = string.char(0xBC)
|
local br = "\xBC"
|
||||||
|
|
||||||
screen.setcursor(x, y); print(tl)
|
screen.setcursor(x, y); print(tl)
|
||||||
screen.setcursor(x, y+h); print(bl)
|
screen.setcursor(x, y+h); print(bl)
|
||||||
|
Loading…
Reference in New Issue
Block a user