فهرست منبع

Comment on letter case inconsistency when registering protocols

Source commit: 3f8ef3cff832d0f587b6552b13391e88748bb534
Martin Prikryl 1 سال پیش
والد
کامیت
966bf1500d
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      source/windows/Setup.cpp

+ 2 - 1
source/windows/Setup.cpp

@@ -508,7 +508,8 @@ static void __fastcall RegisterProtocolForDefaultPrograms(HKEY RootKey, const Un
   // Register protocol, if it does not exist yet.
   // Prior to Windows 8, we need to register ourselves as legacy handler to
   // become the default handler. On Windows 8, it's automatic as long as no other
-  // application is registered for the protocol (i.e. RegisterProtocol would be enough)
+  // application is registered for the protocol (i.e. RegisterProtocol would be enough).
+  // Inconsistently with other calls, this does not use UpperCase().
   RegisterAsUrlHandler(RootKey, Protocol);
 
   // see https://learn.microsoft.com/en-us/windows/win32/shell/default-programs#registering-an-application-for-use-with-default-programs