summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-29 20:27:47 +0100
committerwm4 <wm4@nowhere>2014-11-29 20:27:47 +0100
commitaca6ec1394539ce33359e9ccd0303d095669ae15 (patch)
tree064fbe94e0ad4268d14a9f60a78ee3fc6cf1ccb9
parent01717dcd2c03be930e5ee4036a4d601ce5a7b9ba (diff)
downloadmpv-aca6ec1394539ce33359e9ccd0303d095669ae15.tar.bz2
mpv-aca6ec1394539ce33359e9ccd0303d095669ae15.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