diff options
Diffstat (limited to 'ide/fp.pas')
-rw-r--r-- | ide/fp.pas | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/ide/fp.pas b/ide/fp.pas index 3ebb44b5b5..f1de80bf15 100644 --- a/ide/fp.pas +++ b/ide/fp.pas @@ -328,15 +328,23 @@ procedure InitCompilerSwitches; default_settings.localswitches:=[cs_typed_const_writable]; end; - +{$IFDEF HASAMIGA} +procedure SetAmigaWindowTitle; +begin + { window title first, then screen title, shown when the window is active } + Video.SetWindowTitle( + 'Free Pascal IDE', + 'Free Pascal IDE '+VersionStr+' ['+{$i %date%}+'] - Compiler '+Full_Version_String); +end; +{$ENDIF} {The square bullet needs an MS-DOS code page. On Unix it is for sure the code page is not available before video is initialized. (And only in certain circumstances after that, so, use a plain ascii character as bullet on Unix.)} -{$if defined(unix) or defined(amiga) or defined(morphos)} +{$if defined(unix) or defined(HASAMIGA)} const bullet='*'; {$else} -const bullet='þ'; +const bullet=#254; {$endif} BEGIN @@ -424,6 +432,10 @@ BEGIN from command line PM } ParseUserScreen; +{$IFDEF HASAMIGA} + SetAmigaWindowTitle; +{$ENDIF} + { Update IDE } IDEApp.Update; IDEApp.UpdateMode; |