git-svn-id: svn://db.shs.com.ru/pip@832 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2019-07-23 21:00:50 +00:00
parent 8891ba903c
commit 3c56608ca7
3 changed files with 8 additions and 6 deletions

View File

@@ -1116,13 +1116,15 @@ PICout operator <<(PICout s, const PIString & v) {
s.setControl(0, true);
if (PICout::isBufferActive())
s << v.data();
else
s <<
else {
#ifdef WINDOWS
(const char*)v.toByteArray().data();
PIByteArray d = v.toByteArray();
d.push_back(uchar('\0'));
s << (const char*)d.data();
#else
v.dataConsole();
s << v.dataConsole();
#endif
}
s.restoreControl();
s.quote();
return s;