Skip to content

Commit

Permalink
Fixing #2522
Browse files Browse the repository at this point in the history
Fix typo when changing the RBGroups entry of Optional Contents.
  • Loading branch information
JorjMcKie committed Oct 1, 2023
1 parent 271951e commit 9144840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fitz/fitz.i
Original file line number Diff line number Diff line change
Expand Up @@ -4030,7 +4030,7 @@ if rbgroups:
if not type(x) in (list, tuple):
raise ValueError("bad RBGroup '%s'" % x)
s = set(x).difference(ocgs)
if f != set():
if s != set():
raise ValueError("bad OCGs in RBGroup: %s" % s)

if basestate:
Expand Down

0 comments on commit 9144840

Please sign in to comment.