Patch level : v32 nopatch

Files correlati     : ba0 e ba1
Ricompilazione Demo : [ ]
Commento            :
Risolti alcuni conflitti d'interesse :-)


git-svn-id: svn://10.65.10.50/trunk@10177 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2002-04-22 15:08:14 +00:00
parent 9718a515ed
commit 5bdb89f917
4 changed files with 5 additions and 8 deletions

View File

@ -1452,6 +1452,8 @@ bool TMenu_application::check_user()
break; break;
utente = m.get(F_USER); utente = m.get(F_USER);
const TString& pass = m.get(F_PASSWORD);
users.zero(); users.zero();
users.put("USERNAME", utente); users.put("USERNAME", utente);
@ -1477,7 +1479,7 @@ bool TMenu_application::check_user()
pwd = ""; pwd = "";
} }
ok = utente.not_empty() && pwd.not_empty() && pwd == m.get(F_PASSWORD); ok = utente.not_empty() && pwd.not_empty() && pwd == pass;
if (ok) if (ok)
{ {

View File

@ -304,9 +304,7 @@ void TManutenzione_app::print()
} }
bool TManutenzione_app::create() // initvar e arrmask bool TManutenzione_app::create() // initvar e arrmask
{ {
_firm = get_firm(); _firm = get_firm();
TString sw(argc()>2 ? argv(2) : ""); TString sw(argc()>2 ? argv(2) : "");
@ -361,8 +359,6 @@ bool TManutenzione_app::create() // initvar e arrmask
butt.set_exit_key(K_F5); butt.set_exit_key(K_F5);
_mask->enable(-1); // Abilita campi privilegiati _mask->enable(-1); // Abilita campi privilegiati
} }
dispatch_e_menu(MENU_ITEM(1));
} }
enable_menu_item(M_FILE_PRINT); enable_menu_item(M_FILE_PRINT);
return TSkeleton_application::create(); return TSkeleton_application::create();

View File

@ -264,7 +264,6 @@ protected:
virtual bool destroy() ; virtual bool destroy() ;
virtual void main_loop(); virtual void main_loop();
virtual bool use_files() const { return FALSE; } virtual bool use_files() const { return FALSE; }
virtual bool menu(MENU_TAG);
virtual bool test_assistance_year() const; virtual bool test_assistance_year() const;
void garble(word k[4]) const; void garble(word k[4]) const;

View File

@ -1809,7 +1809,7 @@ bool TCreadischi_mask::zip_module(const TString& main_module, bool agg, int patc
TFilename filelist; TFilename filelist;
filelist.temp("", main_module); filelist.temp("", main_module);
struct _stat info; struct _stat info;
unsigned long lasttime=0; long lasttime=0;
// blocco della prima Progind // blocco della prima Progind
{ {