aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFroggo <92762044+Froggo8311@users.noreply.github.com>2022-05-06 15:15:16 -0500
committerGitHub <noreply@github.com>2022-05-06 21:15:16 +0100
commit45d318a77300b014b13366ee9fa4cfc69e08f360 (patch)
tree22c674ad65e3f15fc886017f2bd8786b3e6ebb61 /src
parent4e1de06782b2541e8d487adfd87b0c2afeedeab3 (diff)
downloadminetest-45d318a77300b014b13366ee9fa4cfc69e08f360.tar.gz
minetest-45d318a77300b014b13366ee9fa4cfc69e08f360.tar.bz2
minetest-45d318a77300b014b13366ee9fa4cfc69e08f360.zip
Enable chat clickable weblinks by default (#12115)
Co-authored-by: rubenwardy <rw@rubenwardy.com>
Diffstat (limited to 'src')
-rw-r--r--src/defaultsettings.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index b86287157..11d52efd3 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -65,7 +65,6 @@ void set_default_settings()
settings->setDefault("max_out_chat_queue_size", "20");
settings->setDefault("pause_on_lost_focus", "false");
settings->setDefault("enable_register_confirmation", "true");
- settings->setDefault("clickable_chat_weblinks", "false");
settings->setDefault("chat_weblink_color", "#8888FF");
// Keymap
@@ -465,6 +464,9 @@ void set_default_settings()
settings->setDefault("touchscreen_threshold","20");
settings->setDefault("fixed_virtual_joystick", "false");
settings->setDefault("virtual_joystick_triggers_aux1", "false");
+ settings->setDefault("clickable_chat_weblinks", "false");
+#else
+ settings->setDefault("clickable_chat_weblinks", "true");
#endif
// Altered settings for Android
#ifdef __ANDROID__