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