aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterhtmlhelp.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:37 -0500
committerJacek Antonelli2008-08-15 23:45:37 -0500
commit31ba05810c641f14e8ab5da8ad2aaf527779f6c1 (patch)
treec4b8d635dfb657fa4cfee7c285f8cadbf24afa90 /linden/indra/newview/llfloaterhtmlhelp.cpp
parentSecond Life viewer sources 1.19.1.1 (diff)
downloadmeta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.zip
meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.gz
meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.bz2
meta-impy-31ba05810c641f14e8ab5da8ad2aaf527779f6c1.tar.xz
Second Life viewer sources 1.19.1.2
Diffstat (limited to 'linden/indra/newview/llfloaterhtmlhelp.cpp')
-rw-r--r--linden/indra/newview/llfloaterhtmlhelp.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterhtmlhelp.cpp b/linden/indra/newview/llfloaterhtmlhelp.cpp
index 9a5ba0e..db68bf8 100644
--- a/linden/indra/newview/llfloaterhtmlhelp.cpp
+++ b/linden/indra/newview/llfloaterhtmlhelp.cpp
@@ -211,7 +211,10 @@ void LLFloaterMediaBrowser::onClickOpenWebBrowser(void* user_data)
211{ 211{
212 LLFloaterMediaBrowser* self = (LLFloaterMediaBrowser*)user_data; 212 LLFloaterMediaBrowser* self = (LLFloaterMediaBrowser*)user_data;
213 213
214 LLWeb::loadURLExternal(self->mCurrentURL); 214 std::string url = self->mCurrentURL.empty() ?
215 self->mBrowser->getHomePageUrl() :
216 self->mCurrentURL;
217 LLWeb::loadURLExternal(url);
215} 218}
216 219
217void LLFloaterMediaBrowser::onClickAssign(void* user_data) 220void LLFloaterMediaBrowser::onClickAssign(void* user_data)