Commit ec104981 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

libvlc_toggle_fullscreen: use var_ToggleBool result

parent 39b89024
......@@ -109,8 +109,7 @@ int libvlc_get_fullscreen( libvlc_media_player_t *p_mi )
void libvlc_toggle_fullscreen( libvlc_media_player_t *p_mi )
{
var_ToggleBool (p_mi, "fullscreen");
bool b_fullscreen = var_GetBool (p_mi, "fullscreen");
bool b_fullscreen = var_ToggleBool (p_mi, "fullscreen");
/* Apply to current video outputs (if any) */
size_t n;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment