Fix copy-pasta from last commit

pull/266/head
Andri Yngvason 2023-10-11 09:21:53 +00:00
parent 301b4c0b53
commit 1c489ad8e9
1 changed files with 2 additions and 2 deletions

View File

@ -1505,8 +1505,8 @@ int main(int argc, char* argv[])
log_level = log_level_from_string( log_level = log_level_from_string(
option_parser_get_value(&option_parser, "log-level")); option_parser_get_value(&option_parser, "log-level"));
max_rate = atoi(option_parser_get_value(&option_parser, "max-fps")); max_rate = atoi(option_parser_get_value(&option_parser, "max-fps"));
use_transient_seat = atoi(option_parser_get_value(&option_parser, use_transient_seat = !!option_parser_get_value(&option_parser,
"transient-seat")); "transient-seat");
keyboard_options = option_parser_get_value(&option_parser, "keyboard"); keyboard_options = option_parser_get_value(&option_parser, "keyboard");
if (keyboard_options) if (keyboard_options)