Changeset 795 for trunk/src/shell32/new/shlmenu.cpp
- Timestamp:
- Sep 2, 1999, 7:25:19 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/shell32/new/shlmenu.cpp
r791 r795 21 21 #include "pidl.h" 22 22 23 #include <heapstring.h> 23 24 #include <misc.h> 24 25 … … 160 161 { 161 162 ILGetDisplayName( pidlTemp, sTemp); 162 if (! (PidlToSicIndex(lpsf, pidlTemp, FALSE, &iIcon)))163 if (! (PidlToSicIndex(lpsf, pidlTemp, FALSE, (UINT*)&iIcon))) 163 164 iIcon = FM_BLANK_ICON; 164 165 if ( SFGAO_FOLDER & ulItemAttr) … … 340 341 341 342 if (VERSION_OsIsUnicode() && (lpText!=FM_SEPARATOR)) 342 lpszText = HEAP_strdupWtoA ( GetProcessHeap(),0,lpText);343 344 ret = FileMenu_AppendItemA(hMenu, (lpszText) ? lpszText : lpText, uID, icon, hMenuPopup, nItemHeight);343 lpszText = (LPSTR)HEAP_strdupWtoA ( GetProcessHeap(),0, (LPCWSTR)lpText); 344 345 ret = FileMenu_AppendItemA(hMenu, (lpszText) ? lpszText : (LPCSTR)lpText, uID, icon, hMenuPopup, nItemHeight); 345 346 346 347 if (lpszText)
Note:
See TracChangeset
for help on using the changeset viewer.