mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
strcasecmp work around for Winelib app
svn path=/trunk/; revision=6624
This commit is contained in:
parent
0331caa800
commit
5524ae0860
1 changed files with 4 additions and 0 deletions
|
@ -194,6 +194,10 @@ 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))
|
||||
|
|
Loading…
Reference in a new issue