[goffice] Fixed logfit equation typo. [#675560]



commit f2bf2f578373fc2b6f0fe30345ae59c6a99720a8
Author: Jean Brefort <jean brefort normalesup org>
Date:   Sun May 6 13:56:24 2012 +0200

    Fixed logfit equation typo. [#675560]

 ChangeLog                       |    5 +++++
 NEWS                            |    3 +++
 plugins/reg_logfit/gog-logfit.c |    2 +-
 3 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index c3653d4..d5707b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-06  Jean Brefort  <jean brefort normalesup org>
+
+	* plugins/reg_logfit/gog-logfit.c (gog_log_fit_curve_get_equation): fixed
+	logfit equation typo. [#675560]
+
 2012-04-21  Morten Welinder <terra gnome org>
 
 	* configure.in: Post-release bump.
diff --git a/NEWS b/NEWS
index c03c928..b84ccac 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
 goffice 0.9.4:
 
+Jean:
+	* Fixed logfit equation typo. [#675560]
+
 --------------------------------------------------------------------------
 goffice 0.9.3:
 
diff --git a/plugins/reg_logfit/gog-logfit.c b/plugins/reg_logfit/gog-logfit.c
index fd96b68..891c74c 100644
--- a/plugins/reg_logfit/gog-logfit.c
+++ b/plugins/reg_logfit/gog-logfit.c
@@ -122,7 +122,7 @@ gog_log_fit_curve_get_equation (GogRegCurve *curve)
 						g_strdup_printf("y = %g + %g ln(\xE2\x88\x92%g \xE2\x88\x92 x)", curve->a[1], curve->a[2], -curve->a[3]))):
 				((curve-> a[1] < 0)?
 					((curve->a[2] < 0)?
-						g_strdup_printf("y = \xE2\x88\x92%g \xE2\x88\x9 2%g ln(%g \xE2\x88\x92 x)", -curve->a[1], -curve->a[2], curve->a[3]):
+						g_strdup_printf("y = \xE2\x88\x92%g \xE2\x88\x92 %g ln(%g \xE2\x88\x92 x)", -curve->a[1], -curve->a[2], curve->a[3]):
 						g_strdup_printf("y = \xE2\x88\x92%g + %g ln(%g \xE2\x88\x92 x)", -curve->a[1], curve->a[2], curve->a[3])):
 					((curve->a[2] < 0)?
 						g_strdup_printf("y = %g \xE2\x88\x92 %g ln(%g\xE2\x88\x92 x)", curve->a[1], -curve->a[2], curve->a[3]):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]