diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-05 17:30:58 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-05 18:27:49 (EDT) |
commit | 3243f40bb2538277f9770ab3b8e531bd91f94021 (patch) | |
tree | 2aa097a4690f57c25bd2b59298a730b6097ff023 /src | |
parent | 4ea247f429594d2e1a2ebf5c32121afa189b8ecf (diff) | |
download | marquee-3243f40bb2538277f9770ab3b8e531bd91f94021.zip marquee-3243f40bb2538277f9770ab3b8e531bd91f94021.tar.gz marquee-3243f40bb2538277f9770ab3b8e531bd91f94021.tar.bz2 |
src/config.c: Set string lists as strings
Diffstat (limited to 'src')
-rw-r--r-- | src/config.c | 2 |
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) |