Commit 0125ef6d authored by Changhui Liu's avatar Changhui Liu Committed by Alexandre Julliard

hidclass.sys: Properly print 80 bytes in first line when tracing ParseDescriptor.

parent acdd869e
......@@ -1030,7 +1030,7 @@ WINE_HIDP_PREPARSED_DATA* ParseDescriptor(BYTE *descriptor, unsigned int length)
for (cidx = 0; cidx < length; cidx++)
{
TRACE("%x ",descriptor[cidx]);
if (cidx % 80 == 0)
if ((cidx+1) % 80 == 0)
TRACE("\n");
}
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