mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
Fixed make build by not using itoa
This commit is contained in:
parent
b8fb0c0949
commit
859c6199e5
@ -35,6 +35,7 @@
|
||||
#include "nsHTMLAtoms.h"
|
||||
#include "nsXULAtoms.h"
|
||||
#include "nsIReflowCommand.h"
|
||||
#include <stdio.h>
|
||||
|
||||
//
|
||||
// NS_NewToolbarFrame
|
||||
@ -76,7 +77,7 @@ nsTabFrame::MouseClicked(nsIPresContext* aPresContext)
|
||||
|
||||
// set the panels index
|
||||
char value[100];
|
||||
itoa(index, value, 100);
|
||||
sprintf(value, "%d", index);
|
||||
|
||||
tabpanel->SetAttribute(kNameSpaceID_None, nsHTMLAtoms::value, value, PR_TRUE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user