mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-05-04 22:28:03 +02:00
lua: fix number of returned values in Settings.apply_rule
This commit is contained in:
parent
5cefe9e800
commit
893e44c51e
1 changed files with 3 additions and 3 deletions
|
|
@ -1562,11 +1562,11 @@ apply_rule (lua_State *L)
|
|||
gboolean value = wp_settings_apply_rule (s, r, cp, ap);
|
||||
lua_pushboolean (L, value);
|
||||
wplua_properties_to_table (L, ap);
|
||||
return 2;
|
||||
}
|
||||
else
|
||||
lua_pushnil (L);
|
||||
|
||||
return 2;
|
||||
lua_pushnil (L);
|
||||
return 1;
|
||||
}
|
||||
|
||||
static const luaL_Reg settings_methods[] = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue