summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrés <andmarti@gmail.com>2023-08-05 11:45:07 -0300
committerAndrés <andmarti@gmail.com>2023-08-05 11:45:07 -0300
commit89791b53ea311c0ca2ec2a116c0b35d1b30da08d (patch)
treeab76b52d280b3669839c699047a84198b3c49a87
parent93f68f2bc009ec7a245a0adf7baeceae17dd3f1e (diff)
parent835f17ff1c8548433dc6f89e720eacdcf85303f3 (diff)
Merge branch 'pr-821' into dev
-rw-r--r--src/formats/xlsx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/formats/xlsx.c b/src/formats/xlsx.c
index 227489a..b8b5dff 100644
--- a/src/formats/xlsx.c
+++ b/src/formats/xlsx.c
@@ -576,7 +576,7 @@ int export_xlsx(char * filename) {
struct sheet * sh = roman->first_sh;
while (sh != NULL) {
- lxw_worksheet * worksheet = workbook_add_worksheet(workbook, NULL);
+ lxw_worksheet * worksheet = workbook_add_worksheet(workbook, sh->name);
int bkp_currow = sh->currow;
sh->currow = 0;
insert_row(sh, 0); //add a row so that scim formulas apply to excel