Don't set NULL encodings when -e is not set
parent
f7aab11128
commit
67bd3331e5
|
@ -611,7 +611,8 @@ int main(int argc, char* argv[])
|
|||
goto vnc_setup_failure;
|
||||
}
|
||||
|
||||
vnc_client_set_encodings(vnc, encodings);
|
||||
if (encodings)
|
||||
vnc_client_set_encodings(vnc, encodings);
|
||||
|
||||
if (quality >= 0)
|
||||
vnc_client_set_quality_level(vnc, quality);
|
||||
|
|
Loading…
Reference in New Issue