mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-01 05:43:46 +00:00
Quick&dirty fix for natural position attribute hack.
This commit is contained in:
parent
122488c723
commit
62c47142b8
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user