]> OCCT Git - occt.git/commitdiff
0032156: Documentation, gendoc.tcl - wrong processing of 'mathjax' option
authorbugmaster <bugmaster@opencascade.com>
Wed, 16 Jun 2021 10:52:19 +0000 (13:52 +0300)
committerbugmaster <bugmaster@opencascade.com>
Fri, 18 Jun 2021 15:23:45 +0000 (18:23 +0300)
adm/gendoc.tcl

index 3ee5fd142fadb486f03010c5c865b5dd9b3b6d8f..d8999ec4cba2d16f94450d9fa5d97bb0d4f042c8 100644 (file)
@@ -236,7 +236,7 @@ proc gendoc {args} {
         return -1
       }
     } elseif {$arg_n == "s"} {
-      if { [ lsearch $args_names "pdf" ] != -1 } {
+      if { [ lsearch $args_names "pdf" ] == -1 } {
         continue
       }
       if {$args_values(s) != "NULL"} {