diff src/madplug/input.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/input.c	Sat Aug 11 17:57:19 2007 +0300
+++ b/src/madplug/input.c	Sun Aug 12 00:06:35 2007 +0900
@@ -464,7 +464,7 @@
     tuple_associate_string(title_input, "quality", "lossy");
 
     info->title = tuple_formatter_process_string(title_input, audmad_config.title_override == TRUE ?
-        audmad_config.id3_format : cfg.gentitle_format);
+        audmad_config.id3_format : get_gentitle_format());
 
     // for connection via proxy, we have to stop transfer once. I can't explain the reason.
     if (info->infile != NULL) {