From: bugmaster Date: Wed, 16 Jun 2021 10:52:19 +0000 (+0300) Subject: 0032156: Documentation, gendoc.tcl - wrong processing of 'mathjax' option X-Git-Tag: V7_6_0_beta~108 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=42633ff642bd01f2c40657d717947a8f7c650ed9;p=occt.git 0032156: Documentation, gendoc.tcl - wrong processing of 'mathjax' option --- diff --git a/adm/gendoc.tcl b/adm/gendoc.tcl index 3ee5fd142f..d8999ec4cb 100644 --- a/adm/gendoc.tcl +++ b/adm/gendoc.tcl @@ -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"} {