Patch level : 10.0

Files correlati     : ba0.exe
Ricompilazione Demo : [ ]
Commento            :
Ulteriore correzione gestione logo


git-svn-id: svn://10.65.10.50/trunk@17508 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2008-10-29 15:22:51 +00:00
parent 7be43b681e
commit e39648939a

View File

@ -760,8 +760,18 @@ TMenu::~TMenu()
bool is_tassan()
{
bool yes = false;
if (!is_power_station() || dongle().number() > 0)
bool yes = dongle().number() > 0;
if (!yes && !is_power_station())
{
TString80 name;
xvt_sys_get_user_name(name.get_buffer(), name.size());
if (name.compare("TASSAN", -1, true) == 0)
yes = true;
xvt_sys_get_host_name(name.get_buffer(), name.size());
if (name.compare("TASSAN", -1, true) == 0)
yes = true;
}
if (yes)
{
const TDate morti(2, 11, 2008); // Giorno della morte del programma
const TDate oggi(TODAY);