Changeset 20 for trunk/Back.pas


Ignore:
Timestamp:
Jan 8, 2017, 12:23:55 PM (7 years ago)
Author:
chronos
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Back.pas

    r10 r20  
    4141  if FullScreen then
    4242  begin
    43     if FileExists(HomeDir + 'Graphics\Background.bmp') or
    44       FileExists(HomeDir + 'Graphics\Background.png') then
     43    if FileExists(HomeDir + 'Graphics' + DirectorySeparator + 'Background.bmp') or
     44      FileExists(HomeDir + 'Graphics' + DirectorySeparator + 'Background.png') then
    4545    begin
    4646      img := TBitmap.Create;
    47       LoadGraphicFile(img, HomeDir + 'Graphics\Background');
     47      LoadGraphicFile(img, HomeDir + 'Graphics' + DirectorySeparator + 'Background');
    4848    end
    4949  end
Note: See TracChangeset for help on using the changeset viewer.