Mike McCormack : comctl32:
Having an MRU list without a compare function works in Windows.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Mar 27 05:29:03 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 316e5835a02cc761336983ac0c4a5aa4270cbcd9
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=316e5835a02cc761336983ac0c4a5aa4270cbcd9
Author: Mike McCormack <mike at codeweavers.com>
Date: Sun Mar 26 11:35:29 2006 +0900
comctl32: Having an MRU list without a compare function works in Windows.
---
dlls/comctl32/comctl32undoc.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/dlls/comctl32/comctl32undoc.c b/dlls/comctl32/comctl32undoc.c
index aa79f88..2812e34 100644
--- a/dlls/comctl32/comctl32undoc.c
+++ b/dlls/comctl32/comctl32undoc.c
@@ -386,10 +386,8 @@ INT WINAPI FindMRUData (HANDLE hList, LP
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,
More information about the wine-cvs
mailing list