mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-08 20:12:01 +03:00
fix build faliures from fetch table operation refactor
This commit is contained in:
parent
0475693394
commit
233904c7ed
@ -62,7 +62,7 @@ static const ULONG ami_file_asl_mime_hook(struct Hook *mh,
|
||||
strcpy(fname,fr->fr_Drawer);
|
||||
AddPart(fname,ap->ap_Info.fib_FileName,1024);
|
||||
|
||||
mt = fetch_mimetype(fname);
|
||||
mt = strdup(fetch_filetype(fname));
|
||||
lerror = lwc_intern_string(mt, strlen(mt), &lwc_mt);
|
||||
if (lerror != lwc_error_ok)
|
||||
return FALSE;
|
||||
|
@ -112,7 +112,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hLastInstance, LPSTR lpcli, int ncmd)
|
||||
.download = win32_download_table,
|
||||
.fetch = win32_fetch_table,
|
||||
};
|
||||
win32_browser_table->get_resource_url = gui_get_resource_url;
|
||||
win32_fetch_table->get_resource_url = gui_get_resource_url;
|
||||
|
||||
if (SLEN(lpcli) > 0) {
|
||||
argvw = CommandLineToArgvW(GetCommandLineW(), &argc);
|
||||
|
Loading…
Reference in New Issue
Block a user