Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052

This commit is contained in:
[email protected] committed 2001-11-07 06:24:10 +00:00
1 parent 31bfc73fe9
commit 1d843feacf
70 files changed
+200 -194

No files matched your search

+1 -1
View File
@@ -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;