Patch level : 4.0 911

Files correlati     :
Ricompilazione Demo : [ ]
Commento           :

Riportata la versione 3.2 1010


git-svn-id: svn://10.65.10.50/trunk@16367 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2008-03-25 16:00:37 +00:00
parent 483db0d5f4
commit 443008bc6d
2 changed files with 9 additions and 4 deletions

View File

@ -944,7 +944,8 @@ bool TMenu_application::check_user()
} }
if (ok) if (ok)
set_user_status(utente, 3); // Esistente e connesso (1 | 2 = 3) set_user_status(utente, 3); // Esistente e connesso (1 | 2 = 3)
}
} }
if (ok) if (ok)

View File

@ -361,8 +361,11 @@ void TSubmenu::read(TScanner& scanner)
} else } else
if (line.starts_with("Module", true)) if (line.starts_with("Module", true))
{ {
bool disable = true; const int equal = line.find('=');
TToken_string mod(line.after('='), ','); if (equal > 0)
{
bool disable = true;
TToken_string mod(line.after('='), ',');
mod.strip_spaces(); mod.strip_spaces();
FOR_EACH_TOKEN(mod, cod) FOR_EACH_TOKEN(mod, cod)
{ {
@ -637,7 +640,7 @@ bool TMenu::perform()
} }
//setta la trasparenza alle immagini con i 4 corner-pixel di colore uguale //setta la trasparenza alle immagini con i 4 corner-pixel di colore uguale
bool TMenu::can_be_transparent(const TImage& i) const /* bool TMenu::can_be_transparent(const TImage& i) const
{ {
const int w = i.width()-1; const int w = i.width()-1;
const int h = i.height()-1; const int h = i.height()-1;
@ -650,6 +653,7 @@ bool TMenu::can_be_transparent(const TImage& i) const
return false; return false;
return true; return true;
} }
*/
TImage& TMenu::image(const char* name) TImage& TMenu::image(const char* name)
{ {