Update of /cvsroot/audacity/audacity-src/src/commands
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv10064/src/commands
Modified Files:
CommandManager.cpp
Log Message:
Normalize key string when storing in command entry.
Index: CommandManager.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/commands/CommandManager.cpp,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- CommandManager.cpp 25 Apr 2009 19:19:39 -0000 1.68
+++ CommandManager.cpp 29 May 2009 02:52:12 -0000 1.69
@@ -657,9 +657,7 @@
return key;
}
- key = KeyStringNormalize(key);
-
- return key;
+ return KeyStringNormalize(key);
}
///Enables or disables a menu item based on its name (not the
@@ -768,7 +766,7 @@
{
CommandListEntry *entry = mCommandNameHash[name];
if (entry) {
- entry->key = key;
+ entry->key = KeyStringNormalize(key);
}
}
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs