diff src/sexypsf/plugin.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 3a252050736c
line wrap: on
line diff
--- a/src/sexypsf/plugin.c	Sat Aug 11 17:57:19 2007 +0300
+++ b/src/sexypsf/plugin.c	Sun Aug 12 00:06:35 2007 +0900
@@ -251,7 +251,7 @@
     Tuple *tuple = get_tuple_psf(fn);
 
     if (tuple != NULL) {
-        title = tuple_formatter_process_string(tuple, cfg.gentitle_format);
+        title = tuple_formatter_process_string(tuple, get_gentitle_format());
         tuple_free(tuple);
     }
     else