comctl32: Having an MRU list without a compare function works in Windows.
This commit is contained in:
parent
8c29b7dc8b
commit
316e5835a0
|
@ -386,10 +386,8 @@ INT WINAPI FindMRUData (HANDLE hList, LPCVOID lpData, DWORD cbData,
|
|||
UINT i;
|
||||
LPSTR dataA = NULL;
|
||||
|
||||
if (!mp->extview.lpfnCompare) {
|
||||
ERR("MRU list not properly created. No compare procedure.\n");
|
||||
if (!mp->extview.lpfnCompare)
|
||||
return -1;
|
||||
}
|
||||
|
||||
if(!(mp->extview.dwFlags & MRUF_BINARY_LIST) && !mp->isUnicode) {
|
||||
DWORD len = WideCharToMultiByte(CP_ACP, 0, lpData, -1,
|
||||
|
|
Loading…
Reference in New Issue