X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=surf.c;h=3e2e2b009181a727ea1a6acf3c83602021672172;hb=a7ea753f93837ee5eed1e2c80b6642d08e6143e0;hp=ec3bee6c5a39d0735546c36a2dadfa3e4cc739b4;hpb=d6bbef74fefaf4f5b9943a821867d99a7200f7ed;p=surf.git 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; }