mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 00:39:44 +02:00
datetimectrls: fixed compilation with fpc 2.7.1
git-svn-id: trunk@47246 -
This commit is contained in:
parent
00431d3725
commit
f411da2257
@ -2073,7 +2073,7 @@ begin
|
||||
YMD.Day := FCorrectedValue;
|
||||
dtpMonth:
|
||||
YMD.Month := FCorrectedValue;
|
||||
dtp.dtpYear:
|
||||
dtpYear:
|
||||
if (YMD.Day = 29) and (YMD.Month = 2) then begin
|
||||
while not IsLeapYear(YMD.Year) do
|
||||
Inc(YMD.Year);
|
||||
|
Loading…
Reference in New Issue
Block a user