Corretta lettura tracciato da testo

git-svn-id: svn://10.65.10.50/trunk@3861 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 1996-11-04 11:02:43 +00:00
parent 8524e0f62f
commit 3333d79604

View File

@ -550,7 +550,8 @@ void TTrec::update_keydef (int key, const char *desc)
if (expr.set ((const char *) ke, _strexpr))
{
_rec->Ky[key].DupKeys = (*s.get () != ' ');
const char * dup = s.get();
_rec->Ky[key].DupKeys = (dup && *dup != ' ');
TCodearray & c = expr.code ();
c.begin ();
int n = 0;