From 4ced7a5570ad82ece5f15680eabaf67e30588c7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s?= Date: Wed, 23 Jun 2021 09:22:28 -0300 Subject: Modify t3.xlsx example --- CHANGES | 1 + examples/xlsx/t3.xlsx | Bin 6135 -> 6227 bytes examples/xlsx/t3_b.xlsx | Bin 6227 -> 0 bytes src/formats/xlsx.c | 4 ++-- 4 files changed, 3 insertions(+), 2 deletions(-) mode change 100755 => 100644 examples/xlsx/t3.xlsx delete mode 100644 examples/xlsx/t3_b.xlsx diff --git a/CHANGES b/CHANGES index b6946db..98f91a8 100644 --- a/CHANGES +++ b/CHANGES @@ -41,6 +41,7 @@ Do not free ents of sheets when deleting a sheet manually (only at exit). just Inform old value and new value when changing configuration variable UI optimizations Simplify clipboard code +xlsx.c: Convert to uppercase before replacing functions Fixes ----- diff --git a/examples/xlsx/t3.xlsx b/examples/xlsx/t3.xlsx old mode 100755 new mode 100644 index 781eded..f037c6d Binary files a/examples/xlsx/t3.xlsx and b/examples/xlsx/t3.xlsx differ diff --git a/examples/xlsx/t3_b.xlsx b/examples/xlsx/t3_b.xlsx deleted file mode 100644 index f037c6d..0000000 Binary files a/examples/xlsx/t3_b.xlsx and /dev/null differ diff --git a/src/formats/xlsx.c b/src/formats/xlsx.c index 48e22f6..c8fe5ac 100644 --- a/src/formats/xlsx.c +++ b/src/formats/xlsx.c @@ -205,8 +205,8 @@ void get_sheet_data(xmlDocPtr doc, xmlDocPtr doc_strings, xmlDocPtr doc_styles) cur_node = cur_node->xmlChildrenNode; // this is sheetdata while (cur_node != NULL) { - child_node = cur_node->xmlChildrenNode; // this are rows - while (child_node != NULL) { // this are cols + child_node = cur_node->xmlChildrenNode; // these are rows + while (child_node != NULL) { // these are cols // We get r y c char * row = (char *) xmlGetProp(cur_node, (xmlChar *) "r"); -- cgit v1.2.3