diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 0cd740c984..0407d95d75 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2010-01-29 20:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/hbtpathy/telepath.prg + ! Fixed typo in commented code in prev commit. + 2010-01-29 20:11 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbtpathy/telepath.prg ! Fixed "midnight bug" in several TP functions having timeout option diff --git a/harbour/contrib/hbtpathy/telepath.prg b/harbour/contrib/hbtpathy/telepath.prg index 131c838b35..939e6f8319 100644 --- a/harbour/contrib/hbtpathy/telepath.prg +++ b/harbour/contrib/hbtpathy/telepath.prg @@ -661,7 +661,7 @@ FUNCTION tp_flush( nPort, nTimeout ) // Sleep rest of timeout /* - IF nTimeout > 0 .AND. __tp_timeelapsed( nStartSec, Seconds() ) > nTimeout + IF nTimeout > 0 .AND. nTimeout > __tp_timeelapsed( nStartSec, Seconds() ) hb_idleSleep( nTimeout - __tp_timeelapsed( nStartSec, Seconds() ) ) ENDIF */