diff src/madplug/decoder.c @ 1473:eb0913bf54c3

use get_gentitle_format() to get format string so that presets and custom string can coexist.
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Sun, 12 Aug 2007 00:06:35 +0900
parents db616ccdd40c
children 4e612b01f303
line wrap: on
line diff
--- a/src/madplug/decoder.c	Sat Aug 11 17:57:19 2007 +0300
+++ b/src/madplug/decoder.c	Sun Aug 12 00:06:35 2007 +0900
@@ -483,7 +483,7 @@
     if (info->title)
         g_free(info->title);
     info->title = tuple_formatter_process_string(info->tuple, audmad_config.title_override == TRUE ?
-                                       audmad_config.id3_format : cfg.gentitle_format);
+                                       audmad_config.id3_format : get_gentitle_format());
 
     tlen = (gint) mad_timer_count(info->duration, MAD_UNITS_MILLISECONDS),
         mad_plugin->set_info(info->title,