aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorMcCabe Maxsted2011-04-19 17:47:49 -0700
committerMcCabe Maxsted2011-04-19 17:47:49 -0700
commitd91d2c7d285c7ac9ed97aa17a961b5c1d9f32cc8 (patch)
treef8bef74da0c1c2168f9628ea5c6a967d3fbcbfec /linden/indra
parentApplied fix for crash when item just added to the inventory is renamed, porte... (diff)
downloadmeta-impy-d91d2c7d285c7ac9ed97aa17a961b5c1d9f32cc8.zip
meta-impy-d91d2c7d285c7ac9ed97aa17a961b5c1d9f32cc8.tar.gz
meta-impy-d91d2c7d285c7ac9ed97aa17a961b5c1d9f32cc8.tar.bz2
meta-impy-d91d2c7d285c7ac9ed97aa17a961b5c1d9f32cc8.tar.xz
Added missing NULL check for gAudiostream in chatbar_as_cmdline
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/newview/chatbar_as_cmdline.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/newview/chatbar_as_cmdline.cpp b/linden/indra/newview/chatbar_as_cmdline.cpp
index b5a7e8c..9777114 100644
--- a/linden/indra/newview/chatbar_as_cmdline.cpp
+++ b/linden/indra/newview/chatbar_as_cmdline.cpp
@@ -367,7 +367,10 @@ bool cmd_line_chat(std::string revised_text, EChatType type)
367 { 367 {
368 gOverlayBar->toggleMusicPlay(gOverlayBar); 368 gOverlayBar->toggleMusicPlay(gOverlayBar);
369 } 369 }
370 gAudioStream->startInternetStream(status); 370 if (gAudioStream)
371 {
372 gAudioStream->startInternetStream(status);
373 }
371 return false; 374 return false;
372 } 375 }
373 } 376 }