mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 19:08:15 +02:00
* Fix compilation in unicode RTL
This commit is contained in:
parent
c52794f943
commit
628e0cdbd1
@ -111,7 +111,7 @@ var
|
||||
alloweddetaillevel : integer = 0; // show if msg.detaillevel<=allowdetaillevel
|
||||
htmlscan : THtmlScanEnum = Scandefault;
|
||||
|
||||
procedure OnError (Project: TChmProject;errorkind:TChmProjectErrorKind;msg:String;detailevel:integer=0);
|
||||
procedure OnError (Project: TChmProject;errorkind:TChmProjectErrorKind;msg:rtlString;detailevel:integer=0);
|
||||
begin
|
||||
if (detailevel<=alloweddetaillevel) or (errorkind < chmnote) then
|
||||
if errorkind<>chmnone then
|
||||
|
@ -49,14 +49,14 @@ type
|
||||
count : integer;
|
||||
donotpage: boolean;
|
||||
nameonly : boolean;
|
||||
procedure OnFileEntry(Name: String; Offset, UncompressedSize, ASection: Integer);
|
||||
procedure OnFileEntry(Name: RTLString; Offset, UncompressedSize, ASection: Integer);
|
||||
end;
|
||||
|
||||
TExtractAllObject = class
|
||||
basedir : string;
|
||||
r : TChmReader;
|
||||
lastone_was_point : boolean;
|
||||
procedure OnFileEntry(Name: String; Offset, UncompressedSize, ASection: Integer);
|
||||
procedure OnFileEntry(Name: RTLString; Offset, UncompressedSize, ASection: Integer);
|
||||
end;
|
||||
|
||||
Type
|
||||
@ -197,7 +197,7 @@ end;
|
||||
|
||||
var donotshowoffset : boolean=false;
|
||||
|
||||
procedure TListObject.OnFileEntry(Name: String; Offset, UncompressedSize,
|
||||
procedure TListObject.OnFileEntry(Name: RTLString; Offset, UncompressedSize,
|
||||
ASection: Integer);
|
||||
begin
|
||||
Inc(Count);
|
||||
@ -225,7 +225,7 @@ begin
|
||||
WriteLn(Name);
|
||||
end;
|
||||
|
||||
procedure TExtractAllObject.OnFileEntry(Name: String; Offset, UncompressedSize,
|
||||
procedure TExtractAllObject.OnFileEntry(Name: RTLString; Offset, UncompressedSize,
|
||||
ASection: Integer);
|
||||
var mem : TMemoryStream;
|
||||
s : String;
|
||||
|
Loading…
Reference in New Issue
Block a user