mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-21 11:40:34 -10:00
Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
This commit is contained in:
1 parent
31bfc73fe9
commit
1d843feacf
70 files changed
+200
-194
No files matched your search
@@ -468,7 +468,7 @@ nsHTMLButtonControlFrame::Paint(nsIPresContext* aPresContext,
|
||||
// XXX a hack until the reflow state does this correctly
|
||||
// XXX when it gets fixed, leave in the printf statements or add an assertion
|
||||
static
|
||||
void ButtonHack(nsHTMLReflowState& aReflowState, char* aMessage)
|
||||
void ButtonHack(nsHTMLReflowState& aReflowState, const char* aMessage)
|
||||
{
|
||||
if (aReflowState.mComputedWidth == 0) {
|
||||
aReflowState.mComputedWidth = aReflowState.availableWidth;
|
||||
|
||||
Reference in new issue
Block a user