Skip to content

Commit f160ca0

Browse files
committed
DOCS/lua: fix mistyped function name
1 parent 7fb21c8 commit f160ca0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DOCS/man/lua.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ The ``mp`` module is preloaded, although it can be loaded manually with
445445
the property will be passed as second argument to ``fn``, using
446446
``mp.get_property_<type>`` to retrieve it. This means if ``type`` is for
447447
example ``string``, ``fn`` is roughly called as in
448-
``fn(name, mp.get_property_string(name))``.
448+
``fn(name, mp.get_property(name))``.
449449

450450
If possible, change events are coalesced. If a property is changed a bunch
451451
of times in a row, only the last change triggers the change function. (The

0 commit comments

Comments
 (0)