diff options
Diffstat (limited to 'c/pl.h')
-rw-r--r-- | c/pl.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ inline int PlGet(term_t t, wstring_owner* x) { Mark m; char* s; if (!PlGet(t, &s)) return 0; - *x = WsoFromSz(s); + *x = wstring_owner::from_narrow(s); return 1; /* or catch potential exception from BstrFromSz? */ } |