1
0
mirror of https://github.com/narzoul/DDrawCompat synced 2024-12-30 08:55:36 +01:00

Fixed logging of unrecognized GUIDs

This commit is contained in:
narzoul 2023-07-31 21:11:36 +02:00
parent 5ce45f8063
commit 7a438d5485

View File

@ -134,5 +134,9 @@ std::ostream& operator<<(std::ostream& os, const GUID& guid)
OLECHAR str[256] = {};
StringFromGUID2(guid, str, sizeof(str));
return os << str;
for (auto p = str; *p != 0; ++p)
{
os << static_cast<char>(*p);
}
return os;
}