Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
KhromovNikita committed Feb 5, 2025
1 parent c525749 commit 5340f07
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pdf/src/annotations/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -1267,6 +1267,13 @@
memory.WriteString(sUserId);
}

// copy of annot
let nCopyOfApId = this.GetCopyOfApIdx();
if (nCopyOfApId != -1) {
Flags |= (1 << 8);
memory.WriteLong(nCopyOfApId);
}

nEndPos = memory.GetCurPosition();
memory.Seek(nPosForFlags);
memory.WriteLong(Flags);
Expand Down

0 comments on commit 5340f07

Please sign in to comment.