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