diff options
Diffstat (limited to 'nx-X11/programs')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Args.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Args.c b/nx-X11/programs/Xserver/hw/nxagent/Args.c index 6896d7212..5db7e0110 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Args.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c @@ -400,10 +400,8 @@ int ddxProcessArgument(int argc, char *argv[], int i) } if (!strcmp(argv[i], "-sync")) { - if (++i < argc) { - nxagentSynchronize = True; - return 1; - } + nxagentSynchronize = True; + return 1; } if (!strcmp(argv[i], "-full")) { |