Commit 6d7ce98f authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

usp10: Limit trace length in dump_types.

parent f325bf74
......@@ -146,10 +146,15 @@ static const char debug_type[][4] =
static inline void dump_types(const char* header, WORD *types, int start, int end)
{
int i;
int i, len = 0;
TRACE("%s:",header);
for (i = start; i< end; i++)
for (i = start; i < end && len < 200; i++)
{
TRACE(" %s",debug_type[types[i]]);
len += strlen(debug_type[types[i]])+1;
}
if (i != end)
TRACE("...");
TRACE("\n");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment