Commit 43871921 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

usp10: Limit trace length in iso_dump_types.

parent 6d7ce98f
......@@ -513,11 +513,16 @@ static inline int iso_previousChar(IsolatedRun *iso_run, int index)
static inline void iso_dump_types(const char* header, IsolatedRun *iso_run)
{
int i;
int i, len = 0;
TRACE("%s:",header);
TRACE("[ ");
for (i = 0; i < iso_run->length; i++)
for (i = 0; i < iso_run->length && len < 200; i++)
{
TRACE(" %s",debug_type[*iso_run->item[i].pcls]);
len += strlen(debug_type[*iso_run->item[i].pcls])+1;
}
if (i != iso_run->length)
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