summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/netsurf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/netsurf.c b/desktop/netsurf.c
index ce6814cbe..248f6fef0 100644
--- a/desktop/netsurf.c
+++ b/desktop/netsurf.c
@@ -80,8 +80,7 @@ nserror netsurf_init(int *pargc,
stdout = stderr;
#endif
- if ((pargc) &&
- ((*pargc) > 1) &&
+ if (((*pargc) > 1) &&
((*pargv)[1][0] == '-') &&
((*pargv)[1][1] == 'v') &&
((*pargv)[1][2] == 0)) {