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:
parent
5ce45f8063
commit
7a438d5485
@ -134,5 +134,9 @@ std::ostream& operator<<(std::ostream& os, const GUID& guid)
|
|||||||
|
|
||||||
OLECHAR str[256] = {};
|
OLECHAR str[256] = {};
|
||||||
StringFromGUID2(guid, str, sizeof(str));
|
StringFromGUID2(guid, str, sizeof(str));
|
||||||
return os << str;
|
for (auto p = str; *p != 0; ++p)
|
||||||
|
{
|
||||||
|
os << static_cast<char>(*p);
|
||||||
|
}
|
||||||
|
return os;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user