mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-06 07:47:59 +02:00
cresstr: fix length specified for resource strings to typed const builder
Copy/paste error
This commit is contained in:
parent
1f328cf362
commit
27a1acdc7d
@ -176,7 +176,7 @@ uses
|
||||
end;
|
||||
}
|
||||
tcb.maybe_begin_aggregate(resstrdef);
|
||||
tcb.emit_string_offset(namelab,length(current_module.localsymtable.name^),st_ansistring,false,charpointertype);
|
||||
tcb.emit_string_offset(namelab,length(R.name),st_ansistring,false,charpointertype);
|
||||
tcb.emit_string_offset(valuelab,R.Len,st_ansistring,false,charpointertype);
|
||||
tcb.emit_string_offset(valuelab,R.Len,st_ansistring,false,charpointertype);
|
||||
tcb.emit_ord_const(R.hash,u32inttype);
|
||||
|
Loading…
Reference in New Issue
Block a user