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

Modified Files:
        ImportFFmpeg.cpp 
Log Message:
Tweaked the FFmpeg logging a bit (works in both Unicode and non-Unicode Windows 
builds).

Index: ImportFFmpeg.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/import/ImportFFmpeg.cpp,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- ImportFFmpeg.cpp    4 Jun 2008 20:37:03 -0000       1.7
+++ ImportFFmpeg.cpp    5 Jun 2008 15:43:42 -0000       1.8
@@ -186,7 +186,7 @@
    wxString printstring(wxT(""));
 
    if (avc) {
-      printstring.Append(wxString::Format(wxT("[%S @ %p] "), 
avc->item_name(ptr), avc));
+      printstring.Append(wxString::Format(wxT("[%s @ %p] "), 
wxString::FromUTF8(avc->item_name(ptr)), avc));
    }
 
    wxString frm(fmt,wxConvLibc);
@@ -200,7 +200,7 @@
       case 2: cpt = wxT("Debug"); break;
       default: cpt = wxT("Log"); break;
    }
-   wxLogMessage(wxT("%s: %s"),cpt.c_str(),printstring.c_str());
+   wxLogMessage(wxT("%s: %s"),cpt,printstring);
 }
 
 class FFmpegImportPlugin : public ImportPlugin


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Audacity-cvs mailing list
Audacity-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/audacity-cvs

Reply via email to