From 0d29551cd2b4cc6b56a3f8cd3b73882961b5e523 Mon Sep 17 00:00:00 2001 From: "gavin%gavinsharp.com" Date: Fri, 4 Aug 2006 14:29:48 +0000 Subject: [PATCH] Bug 338368: fix uninitialized variable used in nsTextFrame::PaintAsciiText, patch by Nickolay Ponomarev , r+sr=roc --- layout/generic/nsTextFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/generic/nsTextFrame.cpp b/layout/generic/nsTextFrame.cpp index c0f4e89f1f93..c17f76ef67e5 100644 --- a/layout/generic/nsTextFrame.cpp +++ b/layout/generic/nsTextFrame.cpp @@ -3930,7 +3930,7 @@ nsTextFrame::PaintAsciiText(nsPresContext* aPresContext, aPresContext, aTextStyle, dx, dy, width); } else { - SelectionDetails *details; + SelectionDetails *details = nsnull; nsCOMPtr content; PRInt32 offset; PRInt32 length;