You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-12 22:07:39 +02:00
Removed unnecessary PChar casts
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user