From 17cc43fe899fe13462835826405d74bafd63ff62 Mon Sep 17 00:00:00 2001 From: hkc Date: Fri, 13 Sep 2024 01:14:46 +0300 Subject: [PATCH] Oopsie --- ccpi.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ccpi.lua b/ccpi.lua index 0159850..3ef6122 100644 --- a/ccpi.lua +++ b/ccpi.lua @@ -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