Changeset 193 for winamp-musepack/trunk/winamp-musepack/mpc_player.cpp
- Timestamp:
- 12/27/06 22:52:50 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
winamp-musepack/trunk/winamp-musepack/mpc_player.cpp
r192 r193 278 278 if (!tag_file->isNull() && tag_file->tag()) { 279 279 TagLib::Tag *tag = tag_file->tag(); 280 infoBox->txtTitle->Text = gcnew String(tag->title().toCString(true) );281 infoBox->txtArtist->Text = gcnew String(tag->artist().toCString(true) );282 infoBox->txtAlbum->Text = gcnew String(tag->album().toCString(true) );280 infoBox->txtTitle->Text = gcnew String(tag->title().toCString(true), 0, strlen(tag->title().toCString(true)), System::Text::Encoding::UTF8); 281 infoBox->txtArtist->Text = gcnew String(tag->artist().toCString(true), 0, strlen(tag->artist().toCString(true)), System::Text::Encoding::UTF8); 282 infoBox->txtAlbum->Text = gcnew String(tag->album().toCString(true), 0, strlen(tag->album().toCString(true)), System::Text::Encoding::UTF8); 283 283 infoBox->txtYear->Text = ""; 284 284 infoBox->txtYear->Text += tag->year(); 285 285 infoBox->txtTrack->Text = ""; 286 286 infoBox->txtTrack->Text += tag->track(); 287 infoBox->comboGenre->Text = gcnew String(tag->genre().toCString(true) );288 infoBox->txtComment->Text = gcnew String(tag->comment().toCString(true) );287 infoBox->comboGenre->Text = gcnew String(tag->genre().toCString(true), 0, strlen(tag->genre().toCString(true)), System::Text::Encoding::UTF8); 288 infoBox->txtComment->Text = gcnew String(tag->comment().toCString(true), 0, strlen(tag->comment().toCString(true)), System::Text::Encoding::UTF8); 289 289 } 290 290 }
Note: See TracChangeset
for help on using the changeset viewer.