diff options
-rw-r--r-- | builtin/settingtypes.txt | 2 | ||||
-rw-r--r-- | minetest.conf.example | 2 | ||||
-rw-r--r-- | src/defaultsettings.cpp | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt index e3589d76f..ff69d9741 100644 --- a/builtin/settingtypes.txt +++ b/builtin/settingtypes.txt @@ -988,7 +988,7 @@ mute_sound (Mute sound) bool false [Client] # Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console output. -clickable_chat_weblinks (Chat weblinks) bool false +clickable_chat_weblinks (Chat weblinks) bool true # Optional override for chat weblink color. chat_weblink_color (Weblink color) string diff --git a/minetest.conf.example b/minetest.conf.example index 68757680c..4b4bda0c5 100644 --- a/minetest.conf.example +++ b/minetest.conf.example @@ -1176,7 +1176,7 @@ # Clickable weblinks (middle-click or Ctrl+left-click) enabled in chat console output. # type: bool -# clickable_chat_weblinks = false +# clickable_chat_weblinks = true # Optional override for chat weblink color. # type: string 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__ |