wince interface: fixed typo in TWinCEWidgetSet.EnterCriticalSection

patch by: Fabio Luis Girardi
fixes issue #18756

git-svn-id: trunk@32421 -
This commit is contained in:
vincents 2011-09-19 08:05:47 +00:00
parent aa5f483f17
commit 50432f64b3

View File

@ -3596,7 +3596,7 @@ end;
procedure TWinCEWidgetSet.EnterCriticalSection(var CritSection: TCriticalSection);
begin
{ An OS Compatible TCriticalSection needs to be defined}
Windows.LeaveCriticalSection(LPCRITICAL_SECTION(CritSection));
Windows.ENTERCRITICALSECTION(LPCRITICAL_SECTION(CritSection));
end;
{We interprete CritSection as a pointer to a LPCRITICAL_SECTION structure}