From 7b716bc837086924bc484fc86c71818ccb31a827 Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 22 Dec 2009 15:19:29 +0000 Subject: [PATCH] 2009-12-22 16:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/rddsql/sddfb/fbirddd.c ! Fixed warning reported by linux/watcom. --- harbour/ChangeLog | 4 ++++ harbour/contrib/rddsql/sddfb/fbirddd.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index dcb6560521..41c5fb833e 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -17,6 +17,10 @@ past entries belonging to author(s): Viktor Szakats. */ +2009-12-22 16:19 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) + * contrib/rddsql/sddfb/fbirddd.c + ! Fixed warning reported by linux/watcom. + 2009-12-22 16:14 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * package/winuni/RELNOTES * Adjusted sizes. diff --git a/harbour/contrib/rddsql/sddfb/fbirddd.c b/harbour/contrib/rddsql/sddfb/fbirddd.c index b74e9a6a45..9a5ed8d903 100644 --- a/harbour/contrib/rddsql/sddfb/fbirddd.c +++ b/harbour/contrib/rddsql/sddfb/fbirddd.c @@ -542,7 +542,7 @@ static HB_ERRCODE fbGoTo( SQLBASEAREAP pArea, ULONG ulRecNo ) } } - if ( ulRecNo <= 0 || ulRecNo > pArea->ulRecCount ) + if ( ulRecNo == 0 || ulRecNo > pArea->ulRecCount ) { pArea->pRecord = pArea->pRow[ 0 ]; pArea->bRecordFlags = pArea->pRowFlags[ 0 ];