From 5485c8263ea3f018e4e9765fcaa346b5002c66d9 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Fri, 13 Nov 2015 20:28:34 -0500 Subject: [PATCH] Fix typo causing linux crash. --- indra/newview/llviewercontrol.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp index 0c8aa144a..abcac1719 100644 --- a/indra/newview/llviewercontrol.cpp +++ b/indra/newview/llviewercontrol.cpp @@ -663,7 +663,7 @@ static void handleDoubleClickActionChanged(const DCAction& action, const LLSD& n if (action == AUTOPILOT) gSavedSettings.setBOOL("DoubleClickTeleport", false); else - gSavedSettings.setBOOL("DoubleClickAutopilot", false); + gSavedSettings.setBOOL("DoubleClickAutoPilot", false); } } @@ -868,7 +868,7 @@ void settings_setup_listeners() gSavedSettings.getControl("AllowLargeSounds")->getSignal()->connect(boost::bind(&handleAllowLargeSounds, _2)); gSavedSettings.getControl("LiruUseZQSDKeys")->getSignal()->connect(boost::bind(load_default_bindings, _2)); - gSavedSettings.getControl("DoubleClickAutopilot")->getSignal()->connect(boost::bind(handleDoubleClickActionChanged, AUTOPILOT, _2)); + gSavedSettings.getControl("DoubleClickAutoPilot")->getSignal()->connect(boost::bind(handleDoubleClickActionChanged, AUTOPILOT, _2)); gSavedSettings.getControl("DoubleClickTeleport")->getSignal()->connect(boost::bind(handleDoubleClickActionChanged, TELEPORT, _2)); gSavedSettings.getControl("HighResSnapshot")->getSignal()->connect(boost::bind(&handleHighResChanged, _2)); }