diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-26 19:41:11 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-26 19:41:11 +0200 |
commit | b966497200b47ca5efb3a5853891ea4590927371 (patch) | |
tree | 45670cff2c4682f0d0c1b1e33c1dddadfe8d58d7 /c/pl.cpp | |
parent | 547cbe578dcdb5aa5cfdac1cdb327f92bad21219 (diff) | |
download | EpisodeBrowser-b966497200b47ca5efb3a5853891ea4590927371.tar.gz |
Use 's' instead of 'str' for as prefix for managed strings.
Diffstat (limited to 'c/pl.cpp')
-rw-r--r-- | c/pl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -78,10 +78,10 @@ int Query::NextSolution() } /* Convert Prolog term to wide characters. */ -int PlString(const term_t t, std::wstring* const pWstr, const int iFlags) +int PlString(const term_t t, std::wstring* const pWs, const int iFlags) { char* sz; int r = PL_get_chars(t, &sz, iFlags); - if (r) *pWstr = WstrFromSz(sz); + if (r) *pWs = WsFromSz(sz); return r; } |