@@ -235,7 +235,7 @@ int hid_winapi_descriptor_reconstruct_pp_data(void *preparsed_data, unsigned cha
235235 }
236236
237237 // *************************************************************************
238- // -Determine hierachy levels of each collections and store it in:
238+ // -Determine hierarchy levels of each collections and store it in:
239239 // coll_levels[COLLECTION_INDEX]
240240 // -Determine number of direct childs of each collections and store it in:
241241 // coll_number_of_direct_childs[COLLECTION_INDEX]
@@ -303,10 +303,10 @@ int hid_winapi_descriptor_reconstruct_pp_data(void *preparsed_data, unsigned cha
303303 }
304304 }
305305
306- // *************************************************************************************************
307- // Determine child collection order of the whole hierachy , based on previously determined bit ranges
306+ // **************************************************************************************************
307+ // Determine child collection order of the whole hierarchy , based on previously determined bit ranges
308308 // and store it this index coll_child_order[COLLECTION_INDEX][DIRECT_CHILD_INDEX]
309- // *************************************************************************************************
309+ // **************************************************************************************************
310310 USHORT * * coll_child_order ;
311311 coll_child_order = malloc (pp_data -> NumberLinkCollectionNodes * sizeof (* coll_child_order ));
312312 {
@@ -326,7 +326,7 @@ int hid_winapi_descriptor_reconstruct_pp_data(void *preparsed_data, unsigned cha
326326 {
327327 // Create list of child collection indices
328328 // sorted reverse to the order returned to HidP_GetLinkCollectionNodeschild
329- // which seems to match teh original order, as long as no bit position needs to be considered
329+ // which seems to match the original order, as long as no bit position needs to be considered
330330 USHORT child_idx = link_collection_nodes [collection_node_idx ].FirstChild ;
331331 int child_count = coll_number_of_direct_childs [collection_node_idx ] - 1 ;
332332 coll_child_order [collection_node_idx ][child_count ] = child_idx ;
0 commit comments