Mercurial > audlegacy-plugins
diff src/modplug/gui/main.cxx @ 2050:2ffc6a69fcd1
string API calls -> vtable
| author | William Pitcock <nenolod@atheme.org> |
|---|---|
| date | Sat, 13 Oct 2007 19:55:04 -0500 |
| parents | 2ebeb7816c5e |
| children | 447da61804f1 |
line wrap: on
line diff
--- a/src/modplug/gui/main.cxx Sun Oct 14 01:33:02 2007 +0300 +++ b/src/modplug/gui/main.cxx Sat Oct 13 19:55:04 2007 -0500 @@ -179,7 +179,7 @@ lInfo = lShortFN; lInfo += '\n'; - tmps = str_to_utf8(lSoundFile->GetTitle()); + tmps = aud_str_to_utf8(lSoundFile->GetTitle()); lInfo += tmps; g_free(tmps); lInfo += '\n'; @@ -279,7 +279,7 @@ for(i = 0; i < lNumSamples; i++) { lSoundFile->GetSampleName(i, lBuffer); - tmps = str_to_utf8(lBuffer); + tmps = aud_str_to_utf8(lBuffer); lInfo += tmps; g_free(tmps); lInfo += '\n'; @@ -290,7 +290,7 @@ for(i = 0; i < lNumInstruments; i++) { lSoundFile->GetInstrumentName(i, lBuffer); - tmps = str_to_utf8(lBuffer); + tmps = aud_str_to_utf8(lBuffer); lInfo += tmps; g_free(tmps); lInfo += '\n'; @@ -304,7 +304,7 @@ //gtk_text_backward_delete(textbox, length); length = lSoundFile->GetSongComments(message, MAX_MESSAGE_LENGTH, 80); if (length != 0) { - tmps = str_to_utf8(message); + tmps = aud_str_to_utf8(message); gtk_label_set_text((GtkLabel*)lookup_widget(InfoWin, "info_message"), tmps); g_free(tmps); }
