[gnumeric] Applix: fix pattern import.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Applix: fix pattern import.
- Date: Wed, 14 Aug 2013 01:24:58 +0000 (UTC)
commit b8d166f598866403a3dcdd63c7b6a2f978a6a850
Author: Morten Welinder <terra gnome org>
Date: Tue Aug 13 21:24:14 2013 -0400
Applix: fix pattern import.
25 is invalid. Guess that 24 is what was meant.
NEWS | 1 +
plugins/applix/ChangeLog | 5 +++++
plugins/applix/applix-read.c | 2 +-
3 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/NEWS b/NEWS
index 6017454..e90a81f 100644
--- a/NEWS
+++ b/NEWS
@@ -38,6 +38,7 @@ Morten:
* Fix conditional format problem. [#704445]
* Fix R1C1 parsing issue. [#705637]
* Improve handling of large-area conditional styles.
+ * Fix (?) Applix pattern importer. [#705946]
--------------------------------------------------------------------------
Gnumeric 1.12.4
diff --git a/plugins/applix/ChangeLog b/plugins/applix/ChangeLog
index 96fde6f..d6c4342 100644
--- a/plugins/applix/ChangeLog
+++ b/plugins/applix/ChangeLog
@@ -1,3 +1,8 @@
+2013-08-13 Morten Welinder <terra gnome org>
+
+ * applix-read.c (applix_parse_style): Don't use pattern 25,
+ because that's invalid. Take a wild guess and use 24.
+
2013-07-10 Morten Welinder <terra gnome org>
* Release 1.12.4
diff --git a/plugins/applix/applix-read.c b/plugins/applix/applix-read.c
index 8e5799f..eaec5dd 100644
--- a/plugins/applix/applix-read.c
+++ b/plugins/applix/applix-read.c
@@ -783,7 +783,7 @@ applix_parse_style (ApplixReadState *state, unsigned char **buffer)
* indicies to gnumeric.
*/
static int const map[] = { 0,
- 1, 6, 5, 4, 3, 2, 25,
+ 1, 6, 5, 4, 3, 2, 24,
24, 14, 13, 17, 16, 15, 11,
19, 20, 21, 22, 23,
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]