Patch level :2.0 488

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :AO20003 (speriamo in via definitiva!)


git-svn-id: svn://10.65.10.50/trunk@11209 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2003-06-03 14:39:38 +00:00
parent 8ce0c20588
commit fd0b1c6708
2 changed files with 5 additions and 5 deletions

View File

@ -96,8 +96,8 @@ unsigned int EutronLogin(int& year)
{
eutron_key.net_command = NET_KEY_ACCESS;
eutron_key.command = BLOCK_READING_MODE;
int* pointer = (int*)(&eutron_key.data[0]);
int* number = (int*)(&eutron_key.data[2]);
short* pointer = (short*)(&eutron_key.data[0]);
short* number = (short*)(&eutron_key.data[2]);
*pointer = 0; // Posizione in cui leggere
*number = 8; // Words da leggere
smartlink(&eutron_key);

View File

@ -538,16 +538,16 @@ int TInstaller_mask::needs_reboot(const TFilename& file) const
xvt_fsys_parse_pathname(file, NULL, NULL, fname, ext, NULL);
int underscore = NONE;
if (xvt_str_compare_ignoring_case(ext, ".exe") == 0)
if (xvt_str_compare_ignoring_case(ext, "exe") == 0)
{
if (xvt_str_compare_ignoring_case(fname, "ba0") == 0)
underscore = NEW_MENUPRG; else
if (xvt_str_compare_ignoring_case(fname, "ba1") == 0)
underscore = NEW_INSTALLER;
} else
if (xvt_str_compare_ignoring_case(ext, ".dll") == 0)
if (xvt_str_compare_ignoring_case(ext, "dll") == 0)
underscore = NEW_DLL; else
if (xvt_str_compare_ignoring_case(ext, ".men") == 0)
if (xvt_str_compare_ignoring_case(ext, "men") == 0)
underscore = NEW_MENU;
return underscore;
}