Modifiche dalla versione Linux sulla 2.1

git-svn-id: svn://10.65.10.50/trunk@12024 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2004-04-28 21:00:38 +00:00
parent 784da84ed4
commit a8a3641198
2 changed files with 6 additions and 6 deletions

@ -142,9 +142,9 @@ void TSaldaconto_app::gioca_cambi(TMask& m, int force)
if (m.get(E_VALUTA).empty())
return;
const real totale = m.get(E_TOTALE);
const real totval = m.get(E_TOTDOCVAL);
const real cambio = m.get(E_CAMBIO);
const real totale = m.get_real(E_TOTALE);
const real totval = m.get_real(E_TOTDOCVAL);
const real cambio = m.get_real(E_CAMBIO);
if ( (force == 0x1 || totale.is_zero()) && !(totval.is_zero() || cambio.is_zero()) )
{

@ -163,7 +163,7 @@ error_box(FR("Errore %d scrivendo sui files temporanei."
if (err == NOERR && yesno_box(caption))
{
TString16 lastpart;
int lastanno;
int lastanno = 0;
TProgind p(10, caption, TRUE, FALSE, 10);
// Esamina le scadenze...
@ -184,7 +184,7 @@ error_box(FR("Errore %d scrivendo sui files temporanei."
}
if (err != NOERR)
error_box(FR("Errore %d nella cancellazione delle scadenze %d/%s"),
err, lastanno, lastpart);
err, lastanno, (const char *)lastpart);
else
{
// ... e i pagamenti
@ -205,7 +205,7 @@ error_box(FR("Errore %d scrivendo sui files temporanei."
}
if (err != NOERR)
error_box(FR("Errore %d nella cancellazione dei pagamenti %d/%s"),
err, lastanno, lastpart);
err, lastanno, (const char *) lastpart);
}
}
delete_tmp_files(); // Physical remove of tmp files