Fix precedence.

This commit is contained in:
Georg Brandl
2008-06-26 20:58:18 +00:00
parent 346d9a9f8a
commit 48b6a0e838
2 changed files with 2 additions and 2 deletions

View File

@@ -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>

View File

@@ -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>