summaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
Diffstat (limited to '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)