Patch level : 12.0 1102

Files correlati     : ve0.exe ve1.exe ve5.exe ve6.exe
Commento :
Patch
Migliorata stampa dei campi su più righe e con altezza automatica (es descrizione riga fattura) con descrizioni molto lunghe e on a capo nella descrizione.
Il salvataggio del plafond salvava anch i plafond con utilizzo 0.

Interno
provare  stampa fatture con righe che abbiano queste caratteristiche.
This commit is contained in:
Alessandro Bonazzi 2021-12-23 16:18:12 +01:00
parent 85d01ee586
commit db5453f961

View File

@ -1968,11 +1968,10 @@ void TToken_string::destroy(int n)
{
if (_last == -2) return ;
if (items() == 1 && n == 0) // sto cancellando l'unco item
n = -1;
if (n < 0)
{
char* s = strrchr(_str, _separator);
if (s != NULL) *s = '\0';
}
*_str = '\0';
else
{
int sep = 0;
@ -1984,7 +1983,7 @@ void TToken_string::destroy(int n)
{
const char* p = strchr(s, _separator);
if (p != NULL)
if (p != nullptr)
{
*s = '\0';
strcat(s, p + 1);