mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 04:26:13 +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);
|
DecodeDateFully(DateTime, Year, Month, Day, DayOfWeek);
|
||||||
DecodeTime(DateTime, Hour, Minute, Second, MilliSecond);
|
DecodeTime(DateTime, Hour, Minute, Second, MilliSecond);
|
||||||
ResultLen := 0;
|
ResultLen := 0;
|
||||||
FillChar(ResultBuffer,0,SizeOf(ResultBuffer));
|
FillChar(ResultBuffer,SizeOf(ResultBuffer),0);
|
||||||
ResultCurrent := @ResultBuffer[0];
|
ResultCurrent := @ResultBuffer[0];
|
||||||
if FormatStr <> '' then
|
if FormatStr <> '' then
|
||||||
StoreFormat(FormatStr, 0, False)
|
StoreFormat(FormatStr, 0, False)
|
||||||
|
Loading…
Reference in New Issue
Block a user