mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 03:59:14 +02:00
Win32: fixed range check error.Patch by Petr-K. issue #28039
git-svn-id: trunk@48941 -
This commit is contained in:
parent
696064a689
commit
ae10af0c87
@ -342,7 +342,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
TCI.Mask := TCIF_TEXT or TCIF_PARAM or TCIF_IMAGE;
|
TCI.Mask := TCIF_TEXT or TCIF_PARAM or TCIF_IMAGE;
|
||||||
// store object as extra, so we can verify we got the right page later
|
// store object as extra, so we can verify we got the right page later
|
||||||
TCI.lParam := PtrUInt(AChild);
|
TCI.lParam := PtrInt(AChild);
|
||||||
TCI.iImage := ATabControl.GetImageIndex(ATabControl.TabToPageIndex(AIndex));
|
TCI.iImage := ATabControl.GetImageIndex(ATabControl.TabToPageIndex(AIndex));
|
||||||
{$ifdef WindowsUnicodeSupport}
|
{$ifdef WindowsUnicodeSupport}
|
||||||
if UnicodeEnabledOS then
|
if UnicodeEnabledOS then
|
||||||
|
Loading…
Reference in New Issue
Block a user