Quick&dirty fix for natural position attribute hack.

This commit is contained in:
rjc%netscape.com 1999-03-10 06:37:04 +00:00
parent 122488c723
commit 62c47142b8

View File

@ -401,7 +401,7 @@ RDFTreeBuilderImpl::AddWidgetItem(nsIContent* aElement,
if (aNaturalOrderPos > 0)
{
// XXX Add this to menu builder as well, or better yet, abstract out.
nsAutoString pos, zero("0");;
nsAutoString pos, zero("0000");
pos.Append(aNaturalOrderPos, 10);
if (pos.Length() < 4)
{