mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-25 00:40:29 +01:00
* widestr->shortstr fixed
* wstrings to system unit dependencies added
This commit is contained in:
parent
171d3c54c1
commit
375d7711b8
@ -6,7 +6,7 @@
|
||||
|
||||
SYSNAMES=systemh heaph mathh filerec textrec system real2str sstrings innr \
|
||||
file typefile text rtti heap astrings objpas objpash except int64 \
|
||||
generic dynarr varianth variant
|
||||
generic dynarr varianth variant wstrings
|
||||
|
||||
SYSINCNAMES=$(addsuffix .inc,$(SYSNAMES))
|
||||
|
||||
|
||||
@ -229,11 +229,9 @@ begin
|
||||
fpc_WideStr_To_ShortStr:=''
|
||||
else
|
||||
begin
|
||||
//Size:=Length(S2);
|
||||
//If Size>high_of_res then
|
||||
// Size:=high_of_res;
|
||||
//widestringmanager.Wide2AnsiMoveProc(PWideChar(S2),PChar(@fpc_WideStr_To_ShortStr[1]),Size);
|
||||
//byte(fpc_WideStr_To_ShortStr[0]):=byte(Size);
|
||||
Size:=Length(S2);
|
||||
If Size>high_of_res then
|
||||
Size:=high_of_res;
|
||||
widestringmanager.Wide2AnsiMoveProc(PWideChar(S2),temp,Size);
|
||||
fpc_WideStr_To_ShortStr:=temp;
|
||||
end;
|
||||
@ -1479,7 +1477,11 @@ procedure initwidestringmanager;
|
||||
|
||||
{
|
||||
$Log$
|
||||
Revision 1.56 2005-03-22 10:10:54 florian
|
||||
Revision 1.57 2005-04-03 08:46:02 florian
|
||||
* widestr->shortstr fixed
|
||||
* wstrings to system unit dependencies added
|
||||
|
||||
Revision 1.56 2005/03/22 10:10:54 florian
|
||||
* shortstr_to_widestring fixed
|
||||
|
||||
Revision 1.55 2005/03/14 21:32:04 florian
|
||||
|
||||
Loading…
Reference in New Issue
Block a user