]> git.sesse.net Git - vlc/commit
variables: set VLC_VAR_HASCHOICE in var_Type() if there are choices
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 23 Oct 2014 17:54:24 +0000 (20:54 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 23 Oct 2014 17:55:19 +0000 (20:55 +0300)
commitabe0b91d0f5fa70e43f8ae4b7d8e752078cce8fe
tree736e584dd7f5289a91b7e0253ec679b305f7f416
parent2a50f02183e108b8b82209c7c29a547f8bf41f64
variables: set VLC_VAR_HASCHOICE in var_Type() if there are choices

This allows adding choices as mere suggestions rather than strict set
of choices (just don´t set VLC_VAR_HASCHOICE in var_Create()).
src/misc/variables.c