@@ -254,8 +254,7 @@ 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" ,
258- " *.vimeocdn.com" , " *.gstatic.com" , " *.googleapis.com" , " *.ggpht.com" };
257+ static SString wildcardWhitelist[] = {" *.googlevideo.com" , " *.google.com" , " *.youtube.com" , " *.ytimg.com" , " *.vimeocdn.com" , " *.gstatic.com" , " *.googleapis.com" , " *.ggpht.com" };
259258
260259 for (int i = 0 ; i < sizeof (wildcardWhitelist) / sizeof (SString); ++i)
261260 {
@@ -330,9 +329,9 @@ void CWebCore::InitialiseWhiteAndBlacklist(bool bAddHardcoded, bool bAddDynamic)
330329 if (bAddDynamic)
331330 {
332331 // Hardcoded whitelist
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" };
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" };
336335
337336 // Hardcoded blacklist
338337 static SString blacklist[] = {" nobrain.dk" };
@@ -500,7 +499,7 @@ void CWebCore::ProcessInputMessage(UINT uMsg, WPARAM wParam, LPARAM lParam)
500499 // Alt-Gr check
501500 if ((keyEvent.type == KEYEVENT_CHAR) && isKeyDown (VK_RMENU))
502501 {
503- HKL current_layout = ::GetKeyboardLayout (0 );
502+ HKL current_layout = ::GetKeyboardLayout (0 );
504503 SHORT scan_res = ::VkKeyScanExW (wParam, current_layout);
505504 if ((HIBYTE (scan_res) & (2 | 4 )) == (2 | 4 ))
506505 {
0 commit comments