usp10: Limit trace length in iso_dump_types.
This commit is contained in:
parent
6d7ce98fec
commit
4387192120
dlls/usp10
|
@ -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)
|
static inline void iso_dump_types(const char* header, IsolatedRun *iso_run)
|
||||||
{
|
{
|
||||||
int i;
|
int i, len = 0;
|
||||||
TRACE("%s:",header);
|
TRACE("%s:",header);
|
||||||
TRACE("[ ");
|
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]);
|
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");
|
TRACE(" ]\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue