Update of /cvsroot/audacity/audacity-src/src/commands In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv20578/src/commands
Modified Files: GetProjectInfoCommand.cpp GetTrackInfoCommand.cpp Log Message: Fix for unicode. Index: GetTrackInfoCommand.cpp =================================================================== RCS file: /cvsroot/audacity/audacity-src/src/commands/GetTrackInfoCommand.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- GetTrackInfoCommand.cpp 11 Dec 2009 19:10:44 -0000 1.2 +++ GetTrackInfoCommand.cpp 11 Dec 2009 21:15:59 -0000 1.3 @@ -57,9 +57,9 @@ void GetTrackInfoCommand::SendBooleanStatus(bool boolValue) { if(boolValue) - Status("1"); // in C# we can say boolValue.ToString(); + Status(_("1")); // in C# we can say boolValue.ToString(); else - Status("0"); + Status(_("0")); } Index: GetProjectInfoCommand.cpp =================================================================== RCS file: /cvsroot/audacity/audacity-src/src/commands/GetProjectInfoCommand.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- GetProjectInfoCommand.cpp 11 Dec 2009 19:09:34 -0000 1.1 +++ GetProjectInfoCommand.cpp 11 Dec 2009 21:15:59 -0000 1.2 @@ -141,9 +141,9 @@ while (trk) { if( (this->*functPtrToGetter)(trk)) // Function Pointer to the desired parameter to Test - boolValueStr.Append("1",1); + boolValueStr.Append(_("1"),1); else - boolValueStr.Append("0",1); + boolValueStr.Append(_("0"),1); trk = iter.Next(); } Status(boolValueStr); ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Audacity-cvs mailing list Audacity-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/audacity-cvs