From 25e1fc55c59b2d12d2b10ab797eef7c21f941992 Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 12 Nov 2009 12:09:08 +0000 Subject: [PATCH] Patch level : 10.0 no patch Files correlati : tc1.exe Ricompilazione Demo : [ ] Corretta la next match nel caso di fine file git-svn-id: svn://10.65.10.50/trunk@19606 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- include/relation.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/relation.cpp b/include/relation.cpp index 06db7fa6b..720a84306 100755 --- a/include/relation.cpp +++ b/include/relation.cpp @@ -766,7 +766,7 @@ bool TRelation::next_match( for (f = fields.get(0); f; f = fields.get()) old.add(from.curr().get(f)); - from.next(); + ok = from.next() == NOERR; old.restart(); @@ -775,7 +775,7 @@ bool TRelation::next_match( const TFixed_string v(from.curr().get(f)); const char* o = old.get(); if (v != o) - ok = FALSE; + ok = false; } }