aboutsummaryrefslogtreecommitdiff
path: root/src/prefsparser.cc
diff options
context:
space:
mode:
authorcorvid <corvid@lavabit.com>2012-12-26 07:47:09 +0000
committercorvid <corvid@lavabit.com>2012-12-26 07:47:09 +0000
commit484ee255bc9b9332824e0ee04d3a0c7fce93109c (patch)
tree10f47be6aa07a10e8fd3a2e3fec6d6f2f40ee3c1 /src/prefsparser.cc
parent774074c4d8427476b03651d4cd79eb3fdb8cffdb (diff)
don't let prefs.show_url be disabled
Diffstat (limited to 'src/prefsparser.cc')
-rw-r--r--src/prefsparser.cc5
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;
+ }
}