This commit is contained in:
Casey 2024-09-13 01:14:46 +03:00
parent 2fbb51cefe
commit 17cc43fe89
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
1 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ local function draw(img, ox, oy, monitor)
return nil, "setPaletteColor is not supported on this term"
end
if not t.setTextScale and img.scale != 1 then
if not t.setTextScale and img.scale ~= 1 then
return nil, "setTextScale is not supported on this term"
end
@ -114,7 +114,7 @@ local function draw(img, ox, oy, monitor)
t.setPaletteColor(bit.blshift(1, i - 1), img.palette[i])
end
if img.scale != 1 then
if img.scale ~= 1 then
t.setTextScale(img.scale)
end