This patch by Philippe insures that the proper number of element are drawn and that the branch is only read once.
This patch by Philippe insures that the proper number of element are drawn and that the
branch is only read once.


git-svn-id: ecbadac9c76e8cf640a0bca86f6bd796c98521e3@3647 27541ba8-7e3a-0410-8455-c3a389f83636

dawehner/root,dawehner/root,bbannier/ROOT,dawehner/root,dawehner/root,bbannier/ROOT,dawehner/root,bbannier/ROOT,bbannier/ROOT,bbannier/ROOT,dawehner/root,dawehner/root,bbannier/ROOT,dawehner/root,bbannier/ROOT