r64541 - in doctools/trunk/sphinx/templates: genindex-single.html genindex.html
![](https://secure.gravatar.com/avatar/8ac615df352a970211b0e3d94a307c6d.jpg?s=120&d=mm&r=g)
Author: georg.brandl Date: Thu Jun 26 22:58:18 2008 New Revision: 64541 Log: Fix precedence. Modified: doctools/trunk/sphinx/templates/genindex-single.html doctools/trunk/sphinx/templates/genindex.html Modified: doctools/trunk/sphinx/templates/genindex-single.html ============================================================================== --- doctools/trunk/sphinx/templates/genindex-single.html (original) +++ doctools/trunk/sphinx/templates/genindex-single.html Thu Jun 26 22:58:18 2008 @@ -24,7 +24,7 @@ {%- endfor %} </dl></dd> {%- endif -%} -{%- set numitems = numitems + 1 + subitems|length -%} +{%- set numitems = numitems + 1 + (subitems|length) -%} {%- if numcols < 2 and numitems > breakat -%} {%- set numcols = numcols+1 -%} </dl></td><td width="33%" valign="top"><dl> Modified: doctools/trunk/sphinx/templates/genindex.html ============================================================================== --- doctools/trunk/sphinx/templates/genindex.html (original) +++ doctools/trunk/sphinx/templates/genindex.html Thu Jun 26 22:58:18 2008 @@ -32,7 +32,7 @@ {%- endfor %} </dl></dd> {%- endif -%} -{%- set numitems = numitems + 1 + subitems|length -%} +{%- set numitems = numitems + 1 + (subitems|length) -%} {%- if numcols < 2 and numitems > breakat -%} {%- set numcols = numcols+1 -%} </dl></td><td width="33%" valign="top"><dl>
participants (1)
-
georg.brandl