mp3.c
branchtrunk
changeset 6 111ef8181229
parent 2 4c1f7b705009
child 7 f5e05e2022f1
equal deleted inserted replaced
5:b33ec9d72c19 6:111ef8181229
   193 // --- --------------------------------------------------------------------
   193 // --- --------------------------------------------------------------------
   194 
   194 
   195 static const char *TitleArtist(const char *title, const char *artist)
   195 static const char *TitleArtist(const char *title, const char *artist)
   196 {
   196 {
   197   static char buf[256]; // clearly not multi-thread save!
   197   static char buf[256]; // clearly not multi-thread save!
   198   char *fmt;
   198   const char *fmt;
   199   if(artist && artist[0]) {
   199   if(artist && artist[0]) {
   200     if(MP3Setup.TitleArtistOrder) fmt="%2$s - %1$s";
   200     if(MP3Setup.TitleArtistOrder) fmt="%2$s - %1$s";
   201     else  fmt="%s - %s";
   201     else  fmt="%s - %s";
   202     }
   202     }
   203   else fmt="%s";
   203   else fmt="%s";