manpage: lua: fix example

Oops.
This commit is contained in:
wm4 2014-11-29 20:27:47 +01:00
parent 01717dcd2c
commit aca6ec1394
1 changed files with 2 additions and 2 deletions

View File

@ -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