Changeset 51


Ignore:
Timestamp:
Jan 11, 2017, 6:06:43 PM (8 years ago)
Author:
chronos
Message:
  • Fixed: Loading of help.txt under Linux.
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LocalPlayer/Help.pas

    r50 r51  
    212212
    213213  HelpText := TStringTable.Create;
    214   HelpText.LoadFromFile(LocalizedFilePath('Help\help.txt'));
     214  HelpText.LoadFromFile(LocalizedFilePath('Help' + DirectorySeparator + 'help.txt'));
    215215  hADVHELP := HelpText.Gethandle('ADVHELP');
    216216  hIMPHELP := HelpText.Gethandle('IMPHELP');
  • trunk/Messg.pas

    r38 r51  
    126126      TButtonBase(Components[cix]).Graphic := GrExt[HGrSystem].Data;
    127127      // if ButtonDownSound<>'*' then
    128       // DownSound:=HomeDir+'Sounds\'+ButtonDownSound+'.wav';
     128      // DownSound:=HomeDir+'Sounds' + DirectorySeparator + ButtonDownSound + '.wav';
    129129      // if ButtonUpSound<>'*' then
    130       // UpSound:=HomeDir+'Sounds\'+ButtonUpSound+'.wav';
     130      // UpSound:=HomeDir+'Sounds' + DirectorySeparator + ButtonUpSound + '.wav';
    131131      if Components[cix] is TButtonA then
    132132        TButtonA(Components[cix]).Font := UniFont[ftButton];
Note: See TracChangeset for help on using the changeset viewer.