From 0c9dc376818e775ad0cec65fe1397cb8d949bc48 Mon Sep 17 00:00:00 2001 From: augusto Date: Fri, 25 Jul 1997 13:08:30 +0000 Subject: [PATCH] Corretta l'update_balances git-svn-id: svn://10.65.10.50/trunk@4916 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- mg/mglib02.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mg/mglib02.cpp b/mg/mglib02.cpp index 420c97dc6..69fe03c4d 100755 --- a/mg/mglib02.cpp +++ b/mg/mglib02.cpp @@ -1323,7 +1323,7 @@ int TMov_mag::update_balances(TRectype & magrec, const TLine_movmag &l,int rett_ void TMov_mag::update_balance(TRectype & magrec, const char * fieldname, real diff) const { - magrec.put(fieldname,magrec.get_int(fieldname)+diff); + magrec.put(fieldname,magrec.get_real(fieldname)+diff); } HIDDEN TEsercizi_contabili _esercizi;