summaryrefslogtreecommitdiffstats
path: root/player/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'player/command.c')
-rw-r--r--player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/command.c b/player/command.c
index 393966bb77..2c86a0ecb7 100644
--- a/player/command.c
+++ b/player/command.c
@@ -4143,7 +4143,7 @@ static bool check_property_autorepeat(char *property, struct MPContext *mpctx)
return true;
// This is a heuristic at best.
- if (prop.type == &m_option_type_flag || prop.type == &m_option_type_choice)
+ if (prop.type->flags & M_OPT_TYPE_CHOICE)
return false;
return true;