summaryrefslogtreecommitdiff
path: root/img
diff options
context:
space:
mode:
Diffstat (limited to 'img')
-rw-r--r--img/better_disp.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/img/better_disp.lua b/img/better_disp.lua
index d8bbc8d..d7b59c1 100644
--- a/img/better_disp.lua
+++ b/img/better_disp.lua
@@ -39,8 +39,8 @@ local function disp(R,img,scrx,scry,w,h,imgx,imgy)
local sw = math.ceil(w/2)
local sh = math.ceil(h/3)
- for soffx=0,sw-1 do
- for soffy=0,sh-1 do
+ for soffx=0,sw do
+ for soffy=0,sh do
local ioffx=soffx*2
local ioffy=soffy*3
R.setCursorPos(scrx+soffx,scry+soffy)