summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-29 20:27:47 +0100
committerDiogo Franco (Kovensky) <diogomfranco@gmail.com>2015-01-25 17:00:11 +0900
commit9a7f3325715063de00dab0b010e22e4705b304e5 (patch)
treefafcc051dbd94ea8c165a873d4f2c9a3c2d29476
parentfadf87f2a796feb30f89d8dbbc43623b2ce17599 (diff)
downloadmpv-9a7f3325715063de00dab0b010e22e4705b304e5.tar.bz2
mpv-9a7f3325715063de00dab0b010e22e4705b304e5.tar.xz
manpage: lua: fix example
Oops.
-rw-r--r--DOCS/man/lua.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/DOCS/man/lua.rst b/DOCS/man/lua.rst
index cae764e22e..06450b112b 100644
--- a/DOCS/man/lua.rst
+++ b/DOCS/man/lua.rst
@@ -22,8 +22,8 @@ A script which leaves fullscreen mode when the player is paused:
::
- function on_pause(name, value)
- if pause == true then
+ function on_pause_change(name, value)
+ if value == true then
mp.set_property("fullscreen", "no")
end
end