summary refs log tree commit diff stats
path: root/src/common/cfgfiles.c
diff options
context:
space:
mode:
authorBerke Viktor <berkeviktor@aol.com>2012-03-16 00:08:01 +0100
committerBerke Viktor <berkeviktor@aol.com>2012-03-16 00:08:01 +0100
commit0452f9582eb1221bb44f9a078452a6b86c662c00 (patch)
treee60c602c36d32fc25b9f266cebc06f967064bad3 /src/common/cfgfiles.c
parent3672db76c506f77e85e4cafdb031c37596599e31 (diff)
parent1012be5efbf01597d4edfd8071068286a77ff2dd (diff)
Merge branch 'master' into wdk
Diffstat (limited to 'src/common/cfgfiles.c')
-rw-r--r--src/common/cfgfiles.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c
index da4adbd3..443538d2 100644
--- a/src/common/cfgfiles.c
+++ b/src/common/cfgfiles.c
@@ -600,6 +600,8 @@ const struct prefs vars[] = {
 	{"text_transparent", P_OFFINT (transparent), TYPE_BOOL},
 	{"text_wordwrap", P_OFFINT (wordwrap), TYPE_BOOL},
 
+	{"url_grabber", P_OFFINT (url_grabber), TYPE_BOOL},
+	{"url_grabber_limit", P_OFFINT (url_grabber_limit), TYPE_INT},
 	{0, 0, 0},
 };
 
@@ -719,6 +721,8 @@ load_config (void)
 	prefs.input_flash_priv = prefs.input_flash_hilight = 1;
 	prefs.input_tray_priv = prefs.input_tray_hilight = 1;
 	prefs.autodccsend = 2;	/* browse mode */
+	prefs.url_grabber = 1;
+	prefs.url_grabber_limit = 0; /* 0 means unlimited for backcompat */
 #ifdef WIN32
 	prefs.identd = 1;
 #endif