Patch level : 10.0

Files correlati     : ba0.exe
Ricompilazione Demo : [ ]
Commento            :
Aggiunta riga definizione modulo Hardy
#define HAAUT 46


git-svn-id: svn://10.65.10.50/branches/R_10_00@20893 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2010-09-22 09:39:46 +00:00
parent 93665435e0
commit 7040da8224
2 changed files with 4 additions and 2 deletions

View File

@ -982,7 +982,7 @@ const TString_array& TDongle::info() const
word TDongle::module_name2code(const char* mod) const
{
int i = 0;
int i = BAAUT;
if (mod && *mod && xvt_str_compare_ignoring_case(mod, "sy") != 0)
{
if (real::is_natural(mod))
@ -997,7 +997,8 @@ word TDongle::module_name2code(const char* mod) const
const TString_array& modinfo = info();
for (i = modinfo.last(); i >= 0; i--)
{
if (modinfo.row(i).starts_with(mod, true))
const TString& autstr = modinfo.row(i);
if (autstr.starts_with(mod, true))
break;
}
}

View File

@ -45,6 +45,7 @@
#define L2AUT 43
#define L3AUT 44
#define L4AUT 45
#define HAAUT 46
#define RIAUT 47
#define ENDAUT 48