merge mixed case startup menu folders
Modified:
branches/lean-explorer/reactos/subsys/system/explorer/taskbar/startmenu.
cpp
_____
Modified:
branches/lean-explorer/reactos/subsys/system/explorer/taskbar/startmenu.
cpp
---
branches/lean-explorer/reactos/subsys/system/explorer/taskbar/startmenu.
cpp 2005-05-01 22:20:13 UTC (rev 14936)
+++
branches/lean-explorer/reactos/subsys/system/explorer/taskbar/startmenu.
cpp 2005-05-01 22:26:55 UTC (rev 14937)
@@ -986,7 +986,7 @@
for(ShellEntryMap::iterator it=_entries.begin();
it!=_entries.end(); ++it) {
StartMenuEntry& sme = it->second;
- if (sme._title == title) ///@todo speed
up by using a map indexed by name
+ if (!_tcsicmp(sme._title, title)) ///@todo
speed up by using a map indexed by name
for(ShellEntrySet::iterator
it2=sme._entries.begin(); it2!=sme._entries.end(); ++it2) {
if
((*it2)->_data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) {
// merge the new shell
entry with the existing of the same name