handle non-wide atoms correctly.
This commit is contained in:
parent
a1b58f61e0
commit
08acf82266
@ -286,6 +286,7 @@ Yap_LookupMaybeWideAtom(wchar_t *atom)
|
||||
len++;
|
||||
}
|
||||
/* not really a wide atom */
|
||||
p = atom;
|
||||
ptr0 = ptr = Yap_AllocCodeSpace(len+1);
|
||||
if (!ptr)
|
||||
return NIL;
|
||||
|
Reference in New Issue
Block a user