Corretta gestione linee titolo

git-svn-id: svn://10.65.10.50/trunk@5705 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
augusto 1997-12-09 09:09:11 +00:00
parent 72a110b90a
commit 6e1435e1a1

View File

@ -21,7 +21,7 @@
int TInstall_ini::build_list(const TString& module, TString_array& a, int TInstall_ini::build_list(const TString& module, TString_array& a,
const char* sommario, bool agg) const char* sommario, bool agg)
{ {
CHECKS(module.len() >= 2, "Bad module ", (const char*)module); CHECKS(module.len() >= 2 || module[0]=='_', "Bad module ", (const char*)module);
TConfig* sum = NULL; TConfig* sum = NULL;
if (sommario) if (sommario)
@ -607,11 +607,14 @@ bool TFascicolator_mask::list_handler(TMask_field& f, KEY k)
{ {
const TMask& m = f.mask(); const TMask& m = f.mask();
const TString& module = m.get(S_MODULE); const TString& module = m.get(S_MODULE);
if (module.not_empty())
{
TModule_mask mm; TModule_mask mm;
mm.load(module); mm.load(module);
if (mm.run() == K_ENTER) if (mm.run() == K_ENTER)
mm.save(); mm.save();
} }
}
return TRUE; return TRUE;
} }
@ -741,7 +744,7 @@ void TFascicolator_mask::load()
if (module[0] == '_') if (module[0] == '_')
{ {
s.disable_cell(m, -1); s.disable_cell(m-1, -1);
} }
else else
{ {