Explorar o código

* really all TMonitor shortcuts pass through the results

florian hai 1 ano
pai
achega
569c3fb49f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/inc/monitor.inc

+ 1 - 1
rtl/inc/monitor.inc

@@ -200,7 +200,7 @@ end;
 function MonitorTryEnter(Const aObject: TObject): Boolean;
 function MonitorTryEnter(Const aObject: TObject): Boolean;
 
 
 begin
 begin
-  TMonitor.TryEnter(aObject);
+  Result:=TMonitor.TryEnter(aObject);
 end;
 end;