From c317578ef8e621694539ffd437dbc73b1b4a50c2 Mon Sep 17 00:00:00 2001 From: Alessandro Bonazzi Date: Mon, 31 Jan 2022 17:53:28 +0100 Subject: [PATCH] Patch level : 12.0 nopatch Files correlati : sc Commento: Aggiornamento cglib --- src/cg/cg2105.cpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/cg/cg2105.cpp b/src/cg/cg2105.cpp index 7d10dc39d..0be7784ab 100755 --- a/src/cg/cg2105.cpp +++ b/src/cg/cg2105.cpp @@ -920,15 +920,14 @@ bool TGame_mask::partite_notify(TSheet_field& partite, int r, KEY k) TToken_string& row = partite.row(r); const int anno = row.get_int(0); // Anno partita TNumero_partita num = row.get(); // Numero partita - if(is_f1()) - { - TNumero_partita prev = num; - if ((num = num_doc_rif()) == -1) - num = prev; - } + +#ifndef __EXTRA__ + if (is_f1() && app().num_doc_rif().full()) + num = app().num_doc_rif(); gm.set(P_ANNO, anno); // Aggiorna campi di ricerca gm.set(P_NUMERO, num); - +#endif + TValuta prima_valuta; // Codice prima valuta if (anno > 0)