aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris B <1029chris@gmail.com>2016-06-11 16:53:56 -0700
committerChris B <1029chris@gmail.com>2016-06-11 16:53:56 -0700
commit613be346449b5420de616978d22c82ed16baa5c5 (patch)
tree10f5f1f056657ea2d0b15f1dd3fe1d5827d2bf8b
parent7f8c0fd667d306d50f0562d37743bab4a71e607a (diff)
Fixed a bug
-rw-r--r--viewer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewer.lua b/viewer.lua
index e5021e2..26074ca 100644
--- a/viewer.lua
+++ b/viewer.lua
@@ -94,7 +94,7 @@ function updateVideo()
vplay.p = true
win[8].update = true
vplay.pr = true
- elseif mouseClick(win[8].x+8+38+38,win[8].y+win[8].h-34-8,32,32) == true and vplay.m ~= 0 and vplay.pr == false then
+ elseif mouseClick(win[8].x+8+38+38,win[8].y+win[8].h-34-8,32,32) == true and vplay.v ~= 0 and vplay.pr == false then
vplay.v:seek(0)
vplay.v:pause()
vplay.p = false