replace FMFD_DEFAULT with 0

This commit is contained in:
IoIxD 2026-07-22 19:55:40 -07:00
commit fb6c7a4772
2 changed files with 1 additions and 2 deletions

View file

@ -26,7 +26,6 @@
#ifdef _MILSKO
#include <windows.h>
#include <mmsystem.h>
#include <urlmon.h>
#ifndef GWLP_USERDATA
#define GWLP_USERDATA GWL_USERDATA
#define GWLP_WNDPROC GWL_WNDPROC

View file

@ -1086,7 +1086,7 @@ static HRESULT STDMETHODCALLTYPE GDIDT_Drop(IDropTarget* this_, IDataObject* pDa
wsymtbl.DragQueryFileW(hDrop, i, path, MAX_PATH);
wsymtbl.DragQueryFileA(hDrop, i, path_normal, MAX_PATH);
hr = wsymtbl.FindMimeFromData(NULL, path, NULL, 0,
NULL, FMFD_DEFAULT, &mime_type, 0x0);
NULL, 0, &mime_type, 0x0);
mime_type_size = WideCharToMultiByte(CP_ACP, 0, mime_type, -1, NULL, 0, NULL, FALSE);
mime_type_normal = malloc(sizeof(mime_type_size));