[ros-diffs] [mf] 13831: case insensitive startmenu merging

mf at svn.reactos.com mf at svn.reactos.com
Sat Mar 5 21:44:42 CET 2005


case insensitive startmenu merging
Modified: trunk/reactos/subsys/system/explorer/taskbar/startmenu.cpp
  _____  

Modified: trunk/reactos/subsys/system/explorer/taskbar/startmenu.cpp
--- trunk/reactos/subsys/system/explorer/taskbar/startmenu.cpp
2005-03-05 17:52:12 UTC (rev 13830)
+++ trunk/reactos/subsys/system/explorer/taskbar/startmenu.cpp
2005-03-05 20:44:41 UTC (rev 13831)
@@ -1005,7 +1005,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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050305/fdb1885a/attachment.html


More information about the Ros-diffs mailing list