summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrés <andmarti@gmail.com>2021-06-23 09:22:28 -0300
committerAndrés <andmarti@gmail.com>2021-06-23 09:22:28 -0300
commit4ced7a5570ad82ece5f15680eabaf67e30588c7f (patch)
tree93e4a554e159771d0d23cfaa33b966bdb1c324da
parentaa6a8454760fa0030035885d5cd047e97cf88711 (diff)
Modify t3.xlsx example
-rw-r--r--CHANGES1
-rw-r--r--[-rwxr-xr-x]examples/xlsx/t3.xlsxbin6135 -> 6227 bytes
-rw-r--r--examples/xlsx/t3_b.xlsxbin6227 -> 0 bytes
-rw-r--r--src/formats/xlsx.c4
4 files changed, 3 insertions, 2 deletions
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
index 781eded..f037c6d 100755..100644
--- a/examples/xlsx/t3.xlsx
+++ b/examples/xlsx/t3.xlsx
Binary files differ
diff --git a/examples/xlsx/t3_b.xlsx b/examples/xlsx/t3_b.xlsx
deleted file mode 100644
index f037c6d..0000000
--- a/examples/xlsx/t3_b.xlsx
+++ /dev/null
Binary files 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");