Utilizzata TToken_string::get_char invece di get()[0]
git-svn-id: svn://10.65.10.50/trunk@109 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
6518ee1fac
commit
11cbb99740
@ -921,11 +921,11 @@ int CG0500_application::re_write(const TMask& m,bool rewrite)
|
||||
continue;
|
||||
|
||||
desc = riga.get(0);
|
||||
const char tipo_cf = riga.get()[0];
|
||||
const char tipo_cf = riga.get_char();
|
||||
const int g = riga.get_int();
|
||||
const int c = riga.get_int();
|
||||
long s = riga.get_long();
|
||||
char sezione = riga.get()[0];
|
||||
char sezione = riga.get_char();
|
||||
desc = riga.get();
|
||||
coddesc = riga.get();
|
||||
|
||||
@ -933,14 +933,14 @@ int CG0500_application::re_write(const TMask& m,bool rewrite)
|
||||
if (g > 0 || c > 0 || s > 0L)
|
||||
{
|
||||
rcaus->zero();
|
||||
rcaus->put (RCA_CODCAUS, (const char *)cau);
|
||||
rcaus->put (RCA_CODCAUS, cau);
|
||||
rcaus->put (RCA_NRIGA, i+1); // Numerare da uno!
|
||||
rcaus->put (RCA_GRUPPO , g);
|
||||
rcaus->put (RCA_CONTO , c);
|
||||
rcaus->put (RCA_SOTTOCONTO, s);
|
||||
rcaus->put (RCA_SEZIONE, sezione);
|
||||
rcaus->put (RCA_DESC , (const char *)desc);
|
||||
rcaus->put (RCA_CODDESC, (const char *)coddesc);
|
||||
rcaus->put (RCA_DESC , desc);
|
||||
rcaus->put (RCA_CODDESC, coddesc);
|
||||
rcaus->put (RCA_TIPOCF, tipo_cf);
|
||||
if (rewrite)
|
||||
{
|
||||
|
@ -1,4 +1,3 @@
|
||||
|
||||
#include "cg0500.h"
|
||||
|
||||
PAGE "" -1 -1 68 11
|
||||
|
@ -1,7 +1,7 @@
|
||||
#define CG43_BUT_SEL 102
|
||||
#define CG43_BUT_MEM 103
|
||||
#define CG43_BUT_ANN 104
|
||||
#define CG43_BUT_CHK 114
|
||||
#define CG43_BUT_CHK 116
|
||||
#define CG43_LST_MESE 105
|
||||
#define CG43_LST_TRIM 110
|
||||
#define CG43_FLD_ANNO 106
|
||||
|
Loading…
x
Reference in New Issue
Block a user