X-Git-Url: https://git.danieliu.xyz/?p=surf.git;a=blobdiff_plain;f=surf.c;h=3e2e2b009181a727ea1a6acf3c83602021672172;hp=ec3bee6c5a39d0735546c36a2dadfa3e4cc739b4;hb=a7ea753f93837ee5eed1e2c80b6642d08e6143e0;hpb=a4e1d552ca17cd3395418094fa338e097f17a7c5 diff --git a/surf.c b/surf.c index ec3bee6..3e2e2b0 100644 --- a/surf.c +++ b/surf.c @@ -430,7 +430,7 @@ initdownload(WebKitWebView *view, WebKitDownload *o, Client *c) { Arg arg; updatewinid(c); - arg = (Arg)DOWNLOAD((char *)webkit_download_get_uri(o)); + arg = (Arg)DOWNLOAD((char *)webkit_download_get_uri(o), geturi(c)); spawn(c, &arg); return FALSE; }