mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-19 22:29:37 +01:00
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:
parent
aa5f483f17
commit
50432f64b3
@ -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}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user