From 343db0c0ec2d5fd930bd31872f5e4d0979145b0b Mon Sep 17 00:00:00 2001 From: angelo Date: Thu, 3 Aug 1995 15:34:26 +0000 Subject: [PATCH] Corretta gestione sheet degli indirizzi di vendita. git-svn-id: svn://10.65.10.50/trunk@1676 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- cg/cg0200.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cg/cg0200.cpp b/cg/cg0200.cpp index ef98ab5ae..ac0ad9af1 100755 --- a/cg/cg0200.cpp +++ b/cg/cg0200.cpp @@ -574,7 +574,7 @@ bool TClifo_application::indsp_notify(int r, KEY key) // request to add the row #r // To avoid rewriting of existing record. // To avoid inserts in the middle of the sheet - if (r != -1 && indsp.items() > r) + if (r != -1 && indsp.items() > (r+1)) { error_box("Si possono aggiungere indirizzi solo alla fine"); return FALSE; //Refuse permission