Update of /cvsroot/audacity/audacity-src/src/commands
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv7914/commands

Modified Files:
      Tag: Audacity_UmixIt
        CommandManager.cpp 
Log Message:
Test XML input per NGS report for UmixIt.

Index: CommandManager.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/commands/CommandManager.cpp,v
retrieving revision 1.16.2.3.2.1
retrieving revision 1.16.2.3.2.2
diff -u -d -r1.16.2.3.2.1 -r1.16.2.3.2.2
--- CommandManager.cpp  27 Nov 2006 16:44:09 -0000      1.16.2.3.2.1
+++ CommandManager.cpp  17 Dec 2006 05:34:39 -0000      1.16.2.3.2.2
@@ -619,9 +619,9 @@
          if (!value)
             break;
          
-         if (!strcmp(attr, "name"))
+         if (!strcmp(attr, "name") && XMLValueChecker::IsGoodString(value))
             name = value;
-         if (!strcmp(attr, "key"))
+         if (!strcmp(attr, "key") && XMLValueChecker::IsGoodString(value))
             key = value;
       }
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to