diff options
Diffstat (limited to 'c/pl.cpp')
-rw-r--r-- | c/pl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -37,10 +37,10 @@ int Query::NextSolution() int PL_get_tchars(term_t t, TCHAR **lpTsz, int iFlags) { #ifdef UNICODE - size_t sizLen; - if (!PL_get_wchars(t, &sizLen, lpTsz, iFlags)) + size_t len; + if (!PL_get_wchars(t, &len, lpTsz, iFlags)) return 0; - return sizLen; + return len; #else if (!PL_get_chars(t, lpTsz, iFlags)) return 0; |