Browse Source

Updating links

(cherry picked from commit 982041f27bc022f61e57e3a1b5b4f7ab48b0e753)

Source commit: e0fdfba2b2ddccea5f6df856e4b80d04e1d4ad8e
Martin Prikryl 8 years ago
parent
commit
9ed01bd855

+ 1 - 1
source/windows/Setup.cpp

@@ -483,7 +483,7 @@ static void __fastcall RegisterProtocolForDefaultPrograms(HKEY RootKey, const Un
   // application is registered for the protocol (i.e. RegisterProtocol would be enough)
   RegisterAsUrlHandler(RootKey, Protocol);
 
-  // see http://msdn.microsoft.com/en-us/library/windows/desktop/cc144154.aspx#registration
+  // see https://msdn.microsoft.com/en-us/library/windows/desktop/cc144154.aspx#registration
   std::unique_ptr<TRegistry> Registry(CreateRegistry(RootKey));
 
   // create capabilities record

+ 1 - 1
source/windows/TerminalManager.cpp

@@ -819,7 +819,7 @@ void __fastcall TTerminalManager::InitTaskbarButtonCreatedMessage()
 {
   // XE6 VCL already handles TaskbarButtonCreated, but does not call ChangeWindowMessageFilterEx.
   // So we keep our implementation.
-  // See also http://stackoverflow.com/a/14618587/850848
+  // See also http://stackoverflow.com/q/14614823/850848#14618587
   FTaskbarButtonCreatedMessage = RegisterWindowMessage(L"TaskbarButtonCreated");
 
   HINSTANCE User32Library = LoadLibrary(L"user32.dll");

+ 3 - 5
source/windows/Tools.cpp

@@ -33,7 +33,7 @@
 // VCL includes wininet.h (even with NO_WIN32_LEAN_AND_MEAN)
 // and it cannot be combined with winhttp.h as of current Windows SDK.
 // This is hack to allow that.
-// http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/8f468d9f-3f15-452c-803d-fc63ab3f684e/cannot-use-both-winineth-and-winhttph
+// https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/8f468d9f-3f15-452c-803d-fc63ab3f684e/cannot-use-both-winineth-and-winhttph
 #undef BOOLAPI
 #undef SECURITY_FLAG_IGNORE_CERT_DATE_INVALID
 #undef SECURITY_FLAG_IGNORE_CERT_CN_INVALID
@@ -936,7 +936,7 @@ static void __fastcall AcquireShutDownPrivileges()
   ZeroMemory(&Priv, sizeof(Priv));
   // Get the LUID for the shutdown privilege.
   // For hibernate/suspend, you need the same:
-  // http://stackoverflow.com/questions/959589/is-there-any-win32-api-to-trigger-the-hibernate-or-suspend-mode-in-windows
+  // http://stackoverflow.com/q/959589/850848
   Win32Check(LookupPrivilegeValue(NULL, SE_SHUTDOWN_NAME, &Priv.Privileges[0].Luid));
 
   Priv.PrivilegeCount = 1;  // one privilege to set
@@ -959,7 +959,7 @@ void __fastcall SuspendWindows()
 {
   AcquireShutDownPrivileges();
 
-  // http://msdn.microsoft.com/en-us/library/windows/desktop/aa373201.aspx
+  // https://msdn.microsoft.com/en-us/library/windows/desktop/aa373201.aspx
   Win32Check(SetSuspendState(false, false, false));
 }
 //---------------------------------------------------------------------------
@@ -1215,8 +1215,6 @@ bool __fastcall DetectSystemExternalEditor(
   return Result;
 }
 //---------------------------------------------------------------------------
-// Code from http://gentoo.osuosl.org/distfiles/cl331.zip/io/
-//---------------------------------------------------------------------------
 // this was moved to global scope in past in some attempt to fix crashes,
 // not sure it really helped
 WINHTTP_CURRENT_USER_IE_PROXY_CONFIG IEProxyInfo;

+ 1 - 1
source/windows/WinApi.h

@@ -20,7 +20,7 @@ typedef HRESULT WINAPI (* GetDpiForMonitorProc)(
   HMONITOR hmonitor, MONITOR_DPI_TYPE dpiType, UINT * dpiX, UINT * dpiY);
 //---------------------------------------------------------------------------
 //---------------------------------------------------------------------------
-// Taken from http://www.codeproject.com/Articles/35197/Undocumented-List-View-Features
+// Taken from https://www.codeproject.com/Articles/35197/Undocumented-List-View-Features
 //---------------------------------------------------------------------------
 #define LVM_QUERYINTERFACE (LVM_FIRST + 189)
 //---------------------------------------------------------------------------