|
|
@@ -33,9 +33,11 @@ private:
|
|
|
//---------------------------------------------------------------------------
|
|
|
void __fastcall SearchHelp(const UnicodeString & Message)
|
|
|
{
|
|
|
- OpenBrowser(FMTLOAD(DOCUMENTATION_SEARCH_URL2,
|
|
|
- (EncodeUrlString(Message), Configuration->ProductVersion,
|
|
|
- IntToHex(__int64(GUIConfiguration->Locale), 4))));
|
|
|
+ // Message goes last, as it may exceed URL parameters limit (2048) and get truncated.
|
|
|
+ // And we need to preserve the other parameters.
|
|
|
+ OpenBrowser(FMTLOAD(DOCUMENTATION_SEARCH_URL3,
|
|
|
+ (Configuration->ProductVersion, IntToHex(__int64(GUIConfiguration->Locale), 4),
|
|
|
+ EncodeUrlString(Message))));
|
|
|
}
|
|
|
//---------------------------------------------------------------------------
|
|
|
void __fastcall InitializeWinHelp()
|