[gnumeric] openoffice-read.c (oo_parse_angle): fix typo
- From: Andreas J. Guelzow <guelzow src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] openoffice-read.c (oo_parse_angle): fix typo
- Date: Mon, 29 Oct 2012 13:41:54 +0000 (UTC)
commit c1c46dcbc1bed451ec2593054e1c72f710b4221f
Author: Andreas J Guelzow <aguelzow pyrshep ca>
Date: Mon Oct 29 07:41:16 2012 -0600
openoffice-read.c (oo_parse_angle): fix typo
plugins/openoffice/ChangeLog | 4 ++++
plugins/openoffice/openoffice-read.c | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index a63a1af..c9ec7d4 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -1,3 +1,7 @@
+2012-10-29 Andreas J. Guelzow <aguelzow pyrshep ca>
+
+ * openoffice-read.c (oo_parse_angle): fix typo
+
2012-10-26 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-read.c (oo_style_prop_cell): make strike-through handling
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index af33684..8f83749 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -1153,7 +1153,7 @@ oo_parse_angle (GsfXMLIn *xin, xmlChar const *str,
} else if (0 == strncmp (end, "grad", 4)) {
num = num / 9. * 10.;
end += 4;
- } else if (0 == strncmp (end, "rad", 2)) {
+ } else if (0 == strncmp (end, "rad", 3)) {
num = num * 180. / M_PIgnum;
end += 3;
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]