Skip to content

Commit

Permalink
wrong bit selected when checking link_type_field_present on link objects
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaranville committed Feb 18, 2021
1 parent 485a603 commit 241f8ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esm/dataobjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ export class DataObjects {
offset += 2;
assert(version == 1);
let size_of_length_of_link_name = Math.pow(2, (flags & 0b00000011));
let link_type_field_present = flags & 0b00000100;
let link_type_field_present = flags & 0b00001000;
let link_name_character_set_field_present = flags & 0b00010000;
var link_type;
if (link_type_field_present) {
Expand Down

0 comments on commit 241f8ba

Please sign in to comment.