summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/surf.c b/surf.c
index 8a36d21..bc73c73 100644
--- a/surf.c
+++ b/surf.c
@@ -574,18 +574,14 @@ newwindow(Client *c, const Arg *arg) {
snprintf(tmp, LENGTH(tmp), "%u\n", (int)embed);
cmd[i++] = tmp;
}
- if(!script) {
+ if(!script)
cmd[i++] = "-s";
- }
- if(!plugin) {
+ if(!plugin)
cmd[i++] = "-p";
- }
- if(!loadimage) {
+ if(!loadimage)
cmd[i++] = "-l";
- }
- if(showxid) {
+ if(showxid)
cmd[i++] = "-x";
- }
cmd[i++] = "--";
uri = arg->v ? (char *)arg->v : c->linkhover;
if(uri)