mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:09:30 +02:00
* check for css-file existance
git-svn-id: trunk@13805 -
This commit is contained in:
parent
b884462ac4
commit
9764ea95d1
@ -47,6 +47,11 @@ begin
|
||||
|
||||
if FCSSFile <> '' then
|
||||
begin
|
||||
if not FileExists(FCSSFile) Then
|
||||
begin
|
||||
Writeln(stderr,'Can''t find CSS file "',FCSSFILE,'"');
|
||||
halt(1);
|
||||
end;
|
||||
TempStream := TMemoryStream.Create;
|
||||
TempStream.LoadFromFile(FCSSFile);
|
||||
TempStream.Position := 0;
|
||||
|
Loading…
Reference in New Issue
Block a user