- Timestamp:
- Oct 2, 2003, 12:39:59 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/comctl32/comctl32undoc.c
r10097 r10260 612 612 613 613 614 #ifdef __WIN32OS2__ 615 typedef int (* WIN32API lpComp1)(LPCSTR , LPCSTR ); 616 typedef int (* WIN32API lpComp2)(LPCVOID, LPCVOID, DWORD); 617 #endif 618 614 619 /************************************************************************** 615 620 * FindMRUData [COMCTL32.169] … … 649 654 for(i=0; i<mp->cursize; i++) { 650 655 if (mp->extview.dwFlags & MRUF_BINARY_LIST) { 656 #ifdef __WIN32OS2__ 657 if (!(lpComp2)mp->extview.lpfnCompare(lpData, &mp->array[i]->datastart, 658 #else 651 659 if (!mp->extview.lpfnCompare(lpData, &mp->array[i]->datastart, 660 #endif 652 661 cbData)) 653 662 break; … … 655 664 else { 656 665 if(mp->isUnicode) { 666 #ifdef __WIN32OS2__ 667 if (!((lpComp1)(mp->extview.lpfnCompare))(lpData, &mp->array[i]->datastart)) 668 #else 657 669 if (!mp->extview.lpfnCompare(lpData, &mp->array[i]->datastart)) 670 #endif 658 671 break; 659 672 } else { … … 666 679 itemA, len, NULL, NULL); 667 680 681 #ifdef __WIN32OS2__ 682 cmp = ((lpComp1)(mp->extview.lpfnCompare))(dataA, itemA); 683 #else 668 684 cmp = mp->extview.lpfnCompare(dataA, itemA); 685 #endif 669 686 COMCTL32_Free(itemA); 670 687 if(!cmp)
Note:
See TracChangeset
for help on using the changeset viewer.