From c9b6889b667ae68f5202f2d3c5f75bb9002289f8 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Sat, 5 Mar 2005 20:44:41 +0000 Subject: [PATCH] case insensitive startmenu merging svn path=/trunk/; revision=13831 --- reactos/subsys/system/explorer/taskbar/startmenu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsys/system/explorer/taskbar/startmenu.cpp b/reactos/subsys/system/explorer/taskbar/startmenu.cpp index a113bfb1651..ec13b87a82a 100644 --- a/reactos/subsys/system/explorer/taskbar/startmenu.cpp +++ b/reactos/subsys/system/explorer/taskbar/startmenu.cpp @@ -1005,7 +1005,7 @@ ShellEntryMap::iterator StartMenu::AddEntry(const String& title, ICON_ID icon_id 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