diff options
author | corvid <corvid@lavabit.com> | 2012-12-26 07:47:09 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2012-12-26 07:47:09 +0000 |
commit | 484ee255bc9b9332824e0ee04d3a0c7fce93109c (patch) | |
tree | 10f47be6aa07a10e8fd3a2e3fec6d6f2f40ee3c1 | |
parent | 774074c4d8427476b03651d4cd79eb3fdb8cffdb (diff) |
don't let prefs.show_url be disabled
-rw-r--r-- | src/prefsparser.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/prefsparser.cc b/src/prefsparser.cc index 6eb8c11d..2a335450 100644 --- a/src/prefsparser.cc +++ b/src/prefsparser.cc @@ -234,4 +234,9 @@ void PrefsParser::parse(FILE *fp) // restore the old numeric locale setlocale(LC_NUMERIC, oldLocale); dFree(oldLocale); + + if (!prefs.show_url) { + MSG_WARN("Reenabling show_url preference (UI requires it currently).\n"); + prefs.show_url = true; + } } |