diff --git a/components/heidisql/include/const.inc b/components/heidisql/include/const.inc index def290f3..971e93c4 100644 --- a/components/heidisql/include/const.inc +++ b/components/heidisql/include/const.inc @@ -17,6 +17,7 @@ const // General things APPNAME = 'HeidiSQL'; + APPDOMAIN = 'http://www.heidisql.com/'; REGPATH = '\Software\' + APPNAME + '\'; REGKEY_SESSIONS = 'Servers\'; STATUS_MSG_READY = 'Ready.'; diff --git a/source/helpers.pas b/source/helpers.pas index f9d911ae..8e64d6e5 100644 --- a/source/helpers.pas +++ b/source/helpers.pas @@ -842,7 +842,7 @@ begin // footer: buffer := '' + crlf + crlf + '

' + crlf + 'generated ' + datetostr(now) + ' ' + timetostr(now) + - ' by ' + Generator + '

' + crlf + crlf + + ' by ' + Generator + '

' + crlf + crlf + ''; if FStream <> nil then FStream.Write(pchar(buffer)^, length(buffer)) else begin diff --git a/source/sqlhelp.pas b/source/sqlhelp.pas index 50627e42..07192d80 100644 --- a/source/sqlhelp.pas +++ b/source/sqlhelp.pas @@ -333,7 +333,7 @@ end; } procedure TfrmSQLhelp.ButtonOnlinehelpClick(Sender: TObject); begin - ShellExec( 'http://www.heidisql.com/sqlhelp.php?mysqlversion='+inttostr(m.mysql_version)+ + ShellExec( APPDOMAIN + 'sqlhelp.php?mysqlversion='+inttostr(m.mysql_version)+ '&keyword='+urlencode(keyword) ); end;