fix build faliures from fetch table operation refactor

This commit is contained in:
Vincent Sanders 2014-01-23 00:09:59 +00:00
parent 0475693394
commit 233904c7ed
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);