fix: fix ov_tab_mode arg

This commit is contained in:
DreamMaoMao 2025-11-06 14:14:02 +08:00
parent 3291f0dfa7
commit 649cfdb54c
4 changed files with 4 additions and 7 deletions

View file

@ -863,6 +863,7 @@ FuncType parse_func_name(char *func_name, Arg *arg, char *arg_value,
func = toggleglobal;
} else if (strcmp(func_name, "toggleoverview") == 0) {
func = toggleoverview;
(*arg).i = atoi(arg_value);
} else if (strcmp(func_name, "set_proportion") == 0) {
func = set_proportion;
(*arg).f = atof(arg_value);