mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 03:39:33 +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
|
if FCSSFile <> '' then
|
||||||
begin
|
begin
|
||||||
|
if not FileExists(FCSSFile) Then
|
||||||
|
begin
|
||||||
|
Writeln(stderr,'Can''t find CSS file "',FCSSFILE,'"');
|
||||||
|
halt(1);
|
||||||
|
end;
|
||||||
TempStream := TMemoryStream.Create;
|
TempStream := TMemoryStream.Create;
|
||||||
TempStream.LoadFromFile(FCSSFile);
|
TempStream.LoadFromFile(FCSSFile);
|
||||||
TempStream.Position := 0;
|
TempStream.Position := 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user