Skip to content

Commit

Permalink
Read boolean value
Browse files Browse the repository at this point in the history
  • Loading branch information
albfan committed May 22, 2020
1 parent 38a2807 commit 101a977
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xlsparse.c
Expand Up @@ -339,7 +339,7 @@ void process_item (int rectype, int reclen, unsigned char *rec) {
if (rec[6]==1) {
/*boolean*/
char buf[2]="0";
buf[0]+=rec[9];
buf[0]+=rec[8];
*pcell=(unsigned char *)strdup(buf);
} else if (rec[6]==2) {
/*error*/
Expand Down

0 comments on commit 101a977

Please sign in to comment.