From b401834a10fcfd2c47a6fd0eee129aedfac15664 Mon Sep 17 00:00:00 2001 From: "ftang%netscape.com" Date: Tue, 11 Apr 2000 22:47:18 +0000 Subject: [PATCH] fix 34886. add accidential deleted line back. git-svn-id: svn://10.0.0.236/trunk@65619 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/ds/nsTextFormater.cpp | 1 + mozilla/xpcom/ds/nsTextFormatter.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/mozilla/xpcom/ds/nsTextFormater.cpp b/mozilla/xpcom/ds/nsTextFormater.cpp index 031d2cc380a..381b7aab869 100644 --- a/mozilla/xpcom/ds/nsTextFormater.cpp +++ b/mozilla/xpcom/ds/nsTextFormater.cpp @@ -352,6 +352,7 @@ static int cvt_f(SprintfState *ss, double d, const PRUnichar *fmt0, const PRUnic } } #endif + sprintf(fout, fin, d); /* ** This assert will catch overflow's of fout, when building with ** debugging on. At least this way we can track down the evil piece diff --git a/mozilla/xpcom/ds/nsTextFormatter.cpp b/mozilla/xpcom/ds/nsTextFormatter.cpp index 819c85ddddf..9f7c6662b00 100644 --- a/mozilla/xpcom/ds/nsTextFormatter.cpp +++ b/mozilla/xpcom/ds/nsTextFormatter.cpp @@ -352,6 +352,8 @@ static int cvt_f(SprintfState *ss, double d, const PRUnichar *fmt0, const PRUnic } } #endif + sprintf(fout, fin, d); + /* ** This assert will catch overflow's of fout, when building with ** debugging on. At least this way we can track down the evil piece