mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 11:47:36 +00:00
__WINE__ compile checks
svn path=/trunk/; revision=7185
This commit is contained in:
parent
704f9a0abe
commit
6876cc7caf
2 changed files with 4 additions and 5 deletions
|
@ -154,7 +154,7 @@ void FindProgramDlg::Refresh(bool delete_cache)
|
|||
|
||||
TCHAR buffer[1024];
|
||||
GetWindowText(GetDlgItem(_hwnd, IDC_TOPIC), buffer, 1024);
|
||||
#ifndef __WINE__ //TODO
|
||||
#ifndef __WINE__ ///@todo
|
||||
_tcslwr(buffer);
|
||||
#endif
|
||||
_lwr_filter = buffer;
|
||||
|
@ -194,10 +194,7 @@ void FindProgramDlg::collect_programs_callback(ShellFolder& folder, ShellEntry*
|
|||
String menu_path;
|
||||
|
||||
int len = pThis->_common_programs.size();
|
||||
#ifdef __WINE__ //TODO
|
||||
#define _tcsnicmp strncasecmp
|
||||
#define _tcsicoll strcasecmp
|
||||
#endif
|
||||
|
||||
if (len && !_tcsnicmp(entry_path, pThis->_common_programs, len))
|
||||
menu_path = ResString(IDS_ALL_USERS) + (String(entry_path)+len);
|
||||
else if ((len=pThis->_user_programs.size()) && !_tcsnicmp(entry_path, pThis->_user_programs, len))
|
||||
|
|
|
@ -101,6 +101,8 @@ extern void _wsplitpath(const WCHAR* path, WCHAR* drv, WCHAR* dir, WCHAR* name,
|
|||
#else
|
||||
extern void _splitpath(const CHAR* path, CHAR* drv, CHAR* dir, CHAR* name, CHAR* ext);
|
||||
#endif
|
||||
#define _tcsnicmp strncasecmp
|
||||
#define _tcsicoll strcasecmp
|
||||
#endif
|
||||
|
||||
#ifndef FILE_ATTRIBUTE_NOT_CONTENT_INDEXED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue