summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-05 17:30:58 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-05 18:27:49 (EDT)
commit3243f40bb2538277f9770ab3b8e531bd91f94021 (patch)
tree2aa097a4690f57c25bd2b59298a730b6097ff023
parent4ea247f429594d2e1a2ebf5c32121afa189b8ecf (diff)
downloadmarquee-3243f40bb2538277f9770ab3b8e531bd91f94021.zip
marquee-3243f40bb2538277f9770ab3b8e531bd91f94021.tar.gz
marquee-3243f40bb2538277f9770ab3b8e531bd91f94021.tar.bz2
src/config.c: Set string lists as strings
-rw-r--r--src/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.c b/src/config.c
index 96c193c..85487c0 100644
--- a/src/config.c
+++ b/src/config.c
@@ -101,7 +101,7 @@ set_type_or_run_callbacks(MqConfig *config, const gchar *name, gpointer value,
#define SET_INT( NAME, VALUE) mq_config_set_integer(config, NAME, VALUE)
#define SET_DBL( NAME, VALUE) mq_config_set_double (config, NAME, VALUE)
#define SET_STR( NAME, VALUE) mq_config_set_string (config, NAME, VALUE)
-#define SET_STRL(NAME, VALUE) do { *NAME = *NAME; *VALUE = *VALUE; } while (0)
+#define SET_STRL(NAME, VALUE) mq_config_set_string (config, NAME, VALUE)
static void
set_defaults(MqConfig *config)