Don't set NULL encodings when -e is not set

qemu-extended-key-event
Andri Yngvason 2020-08-07 10:56:28 +00:00
parent f7aab11128
commit 67bd3331e5
1 changed files with 2 additions and 1 deletions

View File

@ -611,6 +611,7 @@ int main(int argc, char* argv[])
goto vnc_setup_failure; goto vnc_setup_failure;
} }
if (encodings)
vnc_client_set_encodings(vnc, encodings); vnc_client_set_encodings(vnc, encodings);
if (quality >= 0) if (quality >= 0)