[gnumeric] xml: fix last fix.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] xml: fix last fix.
- Date: Sun, 6 Mar 2022 14:04:23 +0000 (UTC)
commit 371cc3b3ebd444f69eb5a2d19bdb076a43871f4b
Author: Morten Welinder <terra gnome org>
Date: Sun Mar 6 09:04:09 2022 -0500
xml: fix last fix.
ChangeLog | 5 +++++
src/xml-sax-write.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2b8037e9e..4031765de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-03-06 Morten Welinder <terra gnome org>
+
+ * src/xml-sax-write.c (xml_write_colrow_info): Fix last fix. I
+ accidentally made the run-length encoding break off too early.
+
2022-03-02 Morten Welinder <terra gnome org>
* src/xml-sax-write.c (xml_write_colrow_info): Fix problem writing
diff --git a/src/xml-sax-write.c b/src/xml-sax-write.c
index 7467bf307..eb2f03a87 100644
--- a/src/xml-sax-write.c
+++ b/src/xml-sax-write.c
@@ -744,7 +744,7 @@ xml_write_colrow_info (GnmColRowIter const *iter, closure_write_colrow *closure)
closure->rle_count++;
if (NULL != iter &&
- iter->pos == closure->prev_pos + 1 &&
+ iter->pos == closure->prev_pos + closure->rle_count &&
col_row_info_equal (prev, iter->cri))
return FALSE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]