usp10: Limit trace length in iso_dump_types.

This commit is contained in:
Piotr Caban 2014-07-12 11:57:12 +02:00 committed by Alexandre Julliard
parent 6d7ce98fec
commit 4387192120
1 changed files with 7 additions and 2 deletions

View File

@ -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");
}