From 4ea247f429594d2e1a2ebf5c32121afa189b8ecf Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 05 Oct 2017 15:26:12 -0400 Subject: about:preferences: Get string values --- (limited to 'src/about') 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 */ -- cgit v0.9.1