mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2026-01-04 10:00:34 +01:00
Fixes bug #19531 - Cannot select the last day of month in Carbon
git-svn-id: trunk@31956 -
This commit is contained in:
parent
a7f666c100
commit
d7b4da9529
@ -766,7 +766,7 @@ begin
|
||||
if sz = sizeof( CFGregorianDate ) then
|
||||
begin
|
||||
CFGregorianDatePtr(ptr)^ := inData.date;
|
||||
if (inData.selDay>0) and (inData.selDay<inData.daysInMonth) then
|
||||
if (inData.selDay>0) and (inData.selDay<=inData.daysInMonth) then
|
||||
CFGregorianDatePtr(ptr)^.day := inData.selDay;
|
||||
end
|
||||
else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user