summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-05 15:26:12 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-05 15:26:12 (EDT)
commit4ea247f429594d2e1a2ebf5c32121afa189b8ecf (patch)
treec9d9e53c4c76e5fd86db59f754c7f1ed168f554d
parent98c024f5a7096266b99cba09293c0b474e76d2d6 (diff)
downloadmarquee-4ea247f429594d2e1a2ebf5c32121afa189b8ecf.zip
marquee-4ea247f429594d2e1a2ebf5c32121afa189b8ecf.tar.gz
marquee-4ea247f429594d2e1a2ebf5c32121afa189b8ecf.tar.bz2
about:preferences: Get string values
-rw-r--r--src/about/preferences.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/about/preferences.c b/src/about/preferences.c
index 272a031..9e88413 100644
--- a/src/about/preferences.c
+++ b/src/about/preferences.c
@@ -41,7 +41,7 @@ save_pref(gchar *key, gchar *value, MqConfig *config)
#define GEN_DBL( NAME, LABEL, MIN, STEP, MAX) mq_html_input_number_d( \
NAME, LABEL, MIN, STEP, MAX, mq_config_get_double(config, NAME))
#define GEN_STR( NAME, LABEL) mq_html_input_text(NAME, LABEL, \
- "") /* TODO */
+ mq_config_get_string(config, NAME))
#define GEN_STRL(NAME, LABEL) mq_html_input_text(NAME, LABEL, \
"") /* TODO */