summaryrefslogtreecommitdiffstats
path: root/input/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'input/input.h')
-rw-r--r--input/input.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/input/input.h b/input/input.h
index 8d32a9907c..99a69c7355 100644
--- a/input/input.h
+++ b/input/input.h
@@ -153,10 +153,10 @@ enum mp_command_type {
};
// The arg types
-#define MP_CMD_ARG_INT 0
-#define MP_CMD_ARG_FLOAT 1
-#define MP_CMD_ARG_STRING 2
-#define MP_CMD_ARG_VOID 3
+#define MP_CMD_ARG_VOID 0
+#define MP_CMD_ARG_INT 1
+#define MP_CMD_ARG_FLOAT 2
+#define MP_CMD_ARG_STRING 3
#ifndef MP_CMD_MAX_ARGS
#define MP_CMD_MAX_ARGS 10
@@ -184,7 +184,6 @@ struct mp_cmd_arg {
int i;
float f;
char *s;
- void *v;
} v;
};