@@ -254,7 +254,8 @@ eURLState CWebCore::GetDomainState(const SString& strURL, bool bOutputDebug)
254254 std::lock_guard<std::recursive_mutex> lock (m_FilterMutex);
255255
256256 // Initialize wildcard whitelist (be careful with modifying) | Todo: Think about the following
257- static SString wildcardWhitelist[] = {" *.googlevideo.com" , " *.google.com" , " *.youtube.com" , " *.ytimg.com" , " *.vimeocdn.com" , " *.gstatic.com" , " *.googleapis.com" , " *.ggpht.com" };
257+ static SString wildcardWhitelist[] = {" *.googlevideo.com" , " *.google.com" , " *.youtube.com" , " *.ytimg.com" ,
258+ " *.vimeocdn.com" , " *.gstatic.com" , " *.googleapis.com" , " *.ggpht.com" };
258259
259260 for (int i = 0 ; i < sizeof (wildcardWhitelist) / sizeof (SString); ++i)
260261 {
@@ -329,9 +330,9 @@ void CWebCore::InitialiseWhiteAndBlacklist(bool bAddHardcoded, bool bAddDynamic)
329330 if (bAddDynamic)
330331 {
331332 // Hardcoded whitelist
332- static SString whitelist[] = {
333- " google.com " , " youtube. com" , " www.youtube-nocookie. com" , " vimeo .com" , " player.vimeo. com" , " code.jquery.com " , " mtasa .com" ,
334- " multitheftauto.com " , " mtavc.com " , " www.googleapis.com " , " ajax.googleapis.com" };
333+ static SString whitelist[] = {" google.com " , " youtube.com " , " www.youtube-nocookie.com " , " vimeo.com " , " player.vimeo.com " ,
334+ " code.jquery. com" , " mtasa. com" , " multitheftauto .com" , " mtavc. com" , " www.googleapis .com" ,
335+ " ajax.googleapis.com" };
335336
336337 // Hardcoded blacklist
337338 static SString blacklist[] = {" nobrain.dk" };
@@ -499,7 +500,7 @@ void CWebCore::ProcessInputMessage(UINT uMsg, WPARAM wParam, LPARAM lParam)
499500 // Alt-Gr check
500501 if ((keyEvent.type == KEYEVENT_CHAR) && isKeyDown (VK_RMENU))
501502 {
502- HKL current_layout = ::GetKeyboardLayout (0 );
503+ HKL current_layout = ::GetKeyboardLayout (0 );
503504 SHORT scan_res = ::VkKeyScanExW (wParam, current_layout);
504505 if ((HIBYTE (scan_res) & (2 | 4 )) == (2 | 4 ))
505506 {
0 commit comments