diff options
-rw-r--r-- | libvncclient/vncviewer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvncclient/vncviewer.c b/libvncclient/vncviewer.c index ffb0976..498f14a 100644 --- a/libvncclient/vncviewer.c +++ b/libvncclient/vncviewer.c @@ -238,7 +238,7 @@ static rfbBool rfbInitConnection(rfbClient* client) rfbBool rfbInitClient(rfbClient* client,int* argc,char** argv) { int i,j; - if(argv>0 && argc && *argc) { + if(argv && argc && *argc) { if(client->programName==0) client->programName=argv[0]; |