summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2022-08-06 01:24:49 +0100
committerubq323 <ubq323@ubq323.website>2022-08-06 01:24:49 +0100
commit3837a2cdb4dcf6c9680882938da5cf7e6ec4bd36 (patch)
tree43e987f592bdb7b492eca9af9bedcc56b89e3070
parentb7850577cc3662bd0846750ed3853e97205575d7 (diff)
img
-rw-r--r--img/better_disp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/img/better_disp.lua b/img/better_disp.lua
index aeced0b..d8bbc8d 100644
--- a/img/better_disp.lua
+++ b/img/better_disp.lua
@@ -33,7 +33,7 @@ local function disp(R,img,scrx,scry,w,h,imgx,imgy)
scry = scry or 1
w = w or img.width
h = h or img.width
- img = imgx or 1
+ imgx = imgx or 1
imgy = imgy or 1
local sw = math.ceil(w/2)