looks like sound.
This commit is contained in:
parent
02fbaf958a
commit
f4d82b0f58
@ -463,7 +463,6 @@ X_API int PL_get_chars(term_t l, char **sp, unsigned flags)
|
|||||||
size_t sz = wcslen(s)+1;
|
size_t sz = wcslen(s)+1;
|
||||||
if (!(tmp = ensure_space(sp, sz*sizeof(wchar_t), flags)))
|
if (!(tmp = ensure_space(sp, sz*sizeof(wchar_t), flags)))
|
||||||
return 0;
|
return 0;
|
||||||
// FIXME: I don't think this is the right thing to do here!
|
|
||||||
memcpy(*sp,s,sz*sizeof(wchar_t));
|
memcpy(*sp,s,sz*sizeof(wchar_t));
|
||||||
} else {
|
} else {
|
||||||
char *s = RepAtom(at)->StrOfAE;
|
char *s = RepAtom(at)->StrOfAE;
|
||||||
|
Reference in New Issue
Block a user