summaryrefslogtreecommitdiffstats
path: root/mpvcore/player/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'mpvcore/player/command.c')
-rw-r--r--mpvcore/player/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpvcore/player/command.c b/mpvcore/player/command.c
index bb72ec4d9a..c2db56444e 100644
--- a/mpvcore/player/command.c
+++ b/mpvcore/player/command.c
@@ -2437,7 +2437,7 @@ void run_command(MPContext *mpctx, mp_cmd_t *cmd)
if (!cmd->raw_args) {
for (int n = 0; n < cmd->nargs; n++) {
- if (cmd->args[n].type.type == CONF_TYPE_STRING) {
+ if (cmd->args[n].type->type == CONF_TYPE_STRING) {
cmd->args[n].v.s =
mp_property_expand_string(mpctx, cmd->args[n].v.s);
if (!cmd->args[n].v.s)