Update of /cvsroot/audacity/audacity-src/src
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv6422

Modified Files:
        AudioIO.cpp 
Log Message:
Fix translation of strings returned from Portaudio...they weren't displaying 
properly on non-Latin versions of Windows.

Index: AudioIO.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/AudioIO.cpp,v
retrieving revision 1.209
retrieving revision 1.210
diff -u -d -r1.209 -r1.210
--- AudioIO.cpp 5 May 2009 21:05:16 -0000       1.209
+++ AudioIO.cpp 30 May 2009 05:50:22 -0000      1.210
@@ -390,7 +390,7 @@
    {
       int numSources = Px_GetNumInputSources(mPortMixer);
       for( int source = 0; source < numSources; source++ )
-         deviceNames.Add(LAT1CTOWX(Px_GetInputSourceName(mPortMixer, source)));
+         deviceNames.Add(wxString(Px_GetInputSourceName(mPortMixer, source), 
wxConvLocal));
    }
    else
    {


------------------------------------------------------------------------------
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

Reply via email to