mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 07:09:29 +02:00
Fix order of parameters of FillChar
This commit is contained in:
parent
6e84d4275d
commit
ef5a32ab95
@ -1278,7 +1278,7 @@ begin
|
||||
DecodeDateFully(DateTime, Year, Month, Day, DayOfWeek);
|
||||
DecodeTime(DateTime, Hour, Minute, Second, MilliSecond);
|
||||
ResultLen := 0;
|
||||
FillChar(ResultBuffer,0,SizeOf(ResultBuffer));
|
||||
FillChar(ResultBuffer,SizeOf(ResultBuffer),0);
|
||||
ResultCurrent := @ResultBuffer[0];
|
||||
if FormatStr <> '' then
|
||||
StoreFormat(FormatStr, 0, False)
|
||||
|
Loading…
Reference in New Issue
Block a user