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