aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llwindow
diff options
context:
space:
mode:
authorAleric Inglewood2010-10-15 17:49:06 +0200
committerAleric Inglewood2010-10-15 17:49:06 +0200
commit67f55bad571044535f1d8c3b3c3afb5078249fd3 (patch)
treed5e9f43ed6b44837faed947a09b13648d55087ba /linden/indra/llwindow
parentRevert "port of LL renderpipeline/Kirstens S19 pipeline for bridging to Viewe... (diff)
downloadmeta-impy-67f55bad571044535f1d8c3b3c3afb5078249fd3.zip
meta-impy-67f55bad571044535f1d8c3b3c3afb5078249fd3.tar.gz
meta-impy-67f55bad571044535f1d8c3b3c3afb5078249fd3.tar.bz2
meta-impy-67f55bad571044535f1d8c3b3c3afb5078249fd3.tar.xz
RED-595: Manual merge with weekly-webkit.
Plus some white space fixes (TABs --> spaces) in install.xml.
Diffstat (limited to 'linden/indra/llwindow')
-rw-r--r--linden/indra/llwindow/llwindow.h2
-rw-r--r--linden/indra/llwindow/llwindowsdl.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/llwindow/llwindow.h b/linden/indra/llwindow/llwindow.h
index 2e96294..5e93ab3 100644
--- a/linden/indra/llwindow/llwindow.h
+++ b/linden/indra/llwindow/llwindow.h
@@ -196,7 +196,7 @@ public:
196// return a platform-specific window reference (HWND on Windows, WindowRef on the Mac, Gtk window on Linux) 196// return a platform-specific window reference (HWND on Windows, WindowRef on the Mac, Gtk window on Linux)
197 virtual void *getPlatformWindow() = 0; 197 virtual void *getPlatformWindow() = 0;
198 198
199// return the platform-specific window reference we use to initialize llmozlib (HWND on Windows, WindowRef on the Mac, Gtk window on Linux) 199// return the platform-specific window reference we use to initialize llqtwebkitlib (HWND on Windows, WindowRef on the Mac, Gtk window on Linux)
200 virtual void *getMediaWindow(); 200 virtual void *getMediaWindow();
201 201
202 // control platform's Language Text Input mechanisms. 202 // control platform's Language Text Input mechanisms.
diff --git a/linden/indra/llwindow/llwindowsdl.cpp b/linden/indra/llwindow/llwindowsdl.cpp
index fa53c84..16106af 100644
--- a/linden/indra/llwindow/llwindowsdl.cpp
+++ b/linden/indra/llwindow/llwindowsdl.cpp
@@ -1606,6 +1606,7 @@ void LLWindowSDL::processMiscNativeEvents()
1606 // the locale to protect it, as exotic/non-C locales 1606 // the locale to protect it, as exotic/non-C locales
1607 // causes our code lots of general critical weirdness 1607 // causes our code lots of general critical weirdness
1608 // and crashness. (SL-35450) 1608 // and crashness. (SL-35450)
1609 // Note: It is unknown if this is still needed now that we use webkit.
1609 static std::string saved_locale; 1610 static std::string saved_locale;
1610 saved_locale = ll_safe_string(setlocale(LC_ALL, NULL)); 1611 saved_locale = ll_safe_string(setlocale(LC_ALL, NULL));
1611 1612
@@ -2433,7 +2434,7 @@ void *LLWindowSDL::getPlatformWindow()
2433 return rtnw; 2434 return rtnw;
2434 } 2435 }
2435#endif // LL_GTK && LL_LLMOZLIB_ENABLED 2436#endif // LL_GTK && LL_LLMOZLIB_ENABLED
2436 // Unixoid mozilla really needs GTK. 2437 llassert(false); // Do we even GET here at all? Note that LL_LLMOZLIB_ENABLED is never defined!
2437 return NULL; 2438 return NULL;
2438} 2439}
2439 2440