summaryrefslogtreecommitdiffstats
path: root/src/formats/xlsx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/formats/xlsx.c')
-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 048633c..9703a6e 100644
--- a/src/formats/xlsx.c
+++ b/src/formats/xlsx.c
@@ -573,7 +573,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