summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--surf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/surf.c b/surf.c
index 360e0dc..8c76d73 100644
--- a/surf.c
+++ b/surf.c
@@ -334,8 +334,8 @@ initdownload(WebKitWebView *view, WebKitDownload *o, Client *c) {
Arg arg;
updatewinid(c);
- cmd = (Arg)DOWNLOAD("_SURF_HILIGHT");
- spawn(c, &cmg);
+ arg = (Arg)DOWNLOAD("_SURF_HILIGHT");
+ spawn(c, &arg);
return FALSE;
}