__WINE__ compile checks
authorMartin Fuchs <fuchs.martin@gmail.com>
Mon, 22 Dec 2003 20:53:28 +0000 (20:53 +0000)
committerMartin Fuchs <fuchs.martin@gmail.com>
Mon, 22 Dec 2003 20:53:28 +0000 (20:53 +0000)
svn path=/trunk/; revision=7185

reactos/subsys/system/explorer/dialogs/searchprogram.cpp
reactos/subsys/system/explorer/utility/utility.h

index 2b177e1..798c883 100644 (file)
@@ -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))
index f6c85c0..83b4349 100644 (file)
@@ -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