diff src/rcfile.h @ 1582:2ca277a9845b

- handle color profile and write metadata buttons on statusbar by ui_manager - statusbar buttons made configurable
author nadvornik
date Fri, 01 May 2009 23:15:51 +0000
parents 9c16a93a0fdf
children 956aab097ea7
line wrap: on
line diff
--- a/src/rcfile.h	Fri May 01 09:49:27 2009 +0000
+++ b/src/rcfile.h	Fri May 01 23:15:51 2009 +0000
@@ -41,7 +41,7 @@
 #define WRITE_NL() write_indent(outstr, indent)
 #define WRITE_SEPARATOR() g_string_append(outstr, "\n")
 #define WRITE_SUBTITLE(_title_) g_string_append_printf(outstr, "\n\n<!-- "_title_" -->\n\n")
-#define WRITE_STRING(_str_) g_string_append_printf(outstr, _str_)
+#define WRITE_STRING(...) g_string_append_printf(outstr, __VA_ARGS__)
 
 #define READ_BOOL(_target_, _name_) read_bool_option(option, #_name_, value, &(_target_)._name_)
 #define READ_INT(_target_, _name_) read_int_option(option, #_name_, value, &(_target_)._name_)