diff options
author | Andrés <andmarti@gmail.com> | 2021-06-23 09:22:28 -0300 |
---|---|---|
committer | Andrés <andmarti@gmail.com> | 2021-06-23 09:22:28 -0300 |
commit | 4ced7a5570ad82ece5f15680eabaf67e30588c7f (patch) | |
tree | 93e4a554e159771d0d23cfaa33b966bdb1c324da | |
parent | aa6a8454760fa0030035885d5cd047e97cf88711 (diff) |
Modify t3.xlsx example
-rw-r--r-- | CHANGES | 1 | ||||
-rw-r--r--[-rwxr-xr-x] | examples/xlsx/t3.xlsx | bin | 6135 -> 6227 bytes | |||
-rw-r--r-- | examples/xlsx/t3_b.xlsx | bin | 6227 -> 0 bytes | |||
-rw-r--r-- | src/formats/xlsx.c | 4 |
4 files changed, 3 insertions, 2 deletions
@@ -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 Binary files differindex 781eded..f037c6d 100755..100644 --- a/examples/xlsx/t3.xlsx +++ b/examples/xlsx/t3.xlsx diff --git a/examples/xlsx/t3_b.xlsx b/examples/xlsx/t3_b.xlsx Binary files differdeleted file mode 100644 index f037c6d..0000000 --- a/examples/xlsx/t3_b.xlsx +++ /dev/null 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"); |