From 1946e053f2fbaccdfc4efed924c960941843b5e9 Mon Sep 17 00:00:00 2001 From: guy Date: Thu, 25 May 1995 10:02:17 +0000 Subject: [PATCH] Aggiunto set_prefix(NULL) prima di lanciare un'apllicazione git-svn-id: svn://10.65.10.50/trunk@1394 c028cbd2-c16b-5b4b-a496-9718f37d4682 --- ba/ba0.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ba/ba0.cpp b/ba/ba0.cpp index a19112391..f6c0a29bf 100755 --- a/ba/ba0.cpp +++ b/ba/ba0.cpp @@ -579,16 +579,12 @@ bool TMenu_application::menu(MENU_TAG) } else { - /* - const TString16 module(cmd2name(option)); - if (!_ditta_asked && module.left(2) == "cg" && module.left(3) != "cg5") - _ditta_asked = ok = set_firm(); - */ - prefix().set("DEF"); // Aggiorna prefix - if (get_firm() == 0) + if (get_firm() == 0) // Chiede ditta se necessario set_firm(); + prefix().set(NULL); // Chiude prefix TExternal_app a(option); a.run(); + prefix().set("DEF"); // Aggiorna prefix } } }