1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-10-30 23:07:52 +02:00

Removed unnecessary PChar casts

This commit is contained in:
Salvador Diaz Fau
2017-04-27 08:33:22 +02:00
parent ca993f6003
commit 24b745dbc3
2 changed files with 5 additions and 5 deletions

View File

@@ -612,7 +612,7 @@ begin
if DirectoryExists(aResourcesDirPath) then
begin
TempDir := IncludeTrailingPathDelimiter(aResourcesDirPath);
if CustomPathIsRelative(PChar(TempDir)) then TempDir := ExtractFilePath(ParamStr(0)) + TempDir;
if CustomPathIsRelative(TempDir) then TempDir := ExtractFilePath(ParamStr(0)) + TempDir;
end
else
exit;
@@ -646,7 +646,7 @@ begin
if DirectoryExists(aFrameworkDirPath) then
begin
TempDir := IncludeTrailingPathDelimiter(aFrameworkDirPath);
if CustomPathIsRelative(PChar(TempDir)) then TempDir := ExtractFilePath(ParamStr(0)) + TempDir;
if CustomPathIsRelative(TempDir) then TempDir := ExtractFilePath(ParamStr(0)) + TempDir;
end
else
exit;