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:
parent
85d01ee586
commit
db5453f961
@ -1968,11 +1968,10 @@ void TToken_string::destroy(int n)
|
|||||||
{
|
{
|
||||||
if (_last == -2) return ;
|
if (_last == -2) return ;
|
||||||
|
|
||||||
|
if (items() == 1 && n == 0) // sto cancellando l'unco item
|
||||||
|
n = -1;
|
||||||
if (n < 0)
|
if (n < 0)
|
||||||
{
|
*_str = '\0';
|
||||||
char* s = strrchr(_str, _separator);
|
|
||||||
if (s != NULL) *s = '\0';
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
int sep = 0;
|
int sep = 0;
|
||||||
@ -1984,7 +1983,7 @@ void TToken_string::destroy(int n)
|
|||||||
{
|
{
|
||||||
const char* p = strchr(s, _separator);
|
const char* p = strchr(s, _separator);
|
||||||
|
|
||||||
if (p != NULL)
|
if (p != nullptr)
|
||||||
{
|
{
|
||||||
*s = '\0';
|
*s = '\0';
|
||||||
strcat(s, p + 1);
|
strcat(s, p + 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user