Migliorata gestione richiesta ditta

git-svn-id: svn://10.65.10.50/trunk@754 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1994-12-13 13:49:03 +00:00
parent e9c4a42f8a
commit 77f1283481
2 changed files with 5 additions and 5 deletions

View File

@ -88,7 +88,7 @@ void TPicture_mask::handler(WINDOW win, EVENT* ep)
{
#if XVT_OS == XVT_OS_WIN
if (_picture)
cpb_win_picture_draw_at(win, _picture, 1, CHARY<<1);
cpb_win_picture_draw_at(win, _picture, 1, 8);
else
#endif
{
@ -564,10 +564,10 @@ bool TMenu_application::menu(MENU_TAG)
}
else
{
TExternal_app a(option);
const TString& module = option.left(2);
if (module == "cg" && !_ditta_asked)
const TString16 module(cmd2name(option));
if (!_ditta_asked && module.left(2) == "cg" && module != "cg5100")
_ditta_asked = ok = set_firm();
TExternal_app a(option);
if (ok) a.run();
prefhndl->set("DEF"); // Aggiorna prefix se hanno cambiato ditta
}

View File

@ -425,7 +425,7 @@ void BA1100_application::convert_dir()
const int items = (int)d.eod();
TString80 s("Aggiornamento archivi ");
if (pref == "com") s << "comune";
if (pref == "com") s << "comuni";
else s << " della ditta " << atol (pref);
TProgind p(items ? items : 1, s, TRUE, TRUE, 70);