From 5ce00cecef33fc679ee72318346f0d5d196cb868 Mon Sep 17 00:00:00 2001 From: Siana Gearz Date: Sat, 21 Apr 2012 12:57:33 +0200 Subject: [PATCH] Fix crash in voice device set-up --- indra/newview/llprefsvoice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llprefsvoice.cpp b/indra/newview/llprefsvoice.cpp index e45a9c2c2..b009dff6d 100644 --- a/indra/newview/llprefsvoice.cpp +++ b/indra/newview/llprefsvoice.cpp @@ -114,7 +114,7 @@ BOOL LLPrefsVoice::postBuild() childSetCommitCallback("enable_voice_check", onCommitEnableVoiceChat, this); childSetAction("set_voice_hotkey_button", onClickSetKey, this); childSetAction("set_voice_middlemouse_button", onClickSetMiddleMouse, this); - childSetAction("device_settings_btn", onClickVoiceDeviceSettings, NULL); + childSetAction("device_settings_btn", onClickVoiceDeviceSettings, this); BOOL voice_disabled = gSavedSettings.getBOOL("CmdLineDisableVoice"); childSetVisible("voice_unavailable", voice_disabled);