summaryrefslogtreecommitdiff
path: root/crypt.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-08-13 11:21:59 +0800
committerxuri <xuri.me@gmail.com>2022-08-13 11:21:59 +0800
commit551fb8a9e4b03fe718a339e75aeacc8b5581378a (patch)
tree17e38203f802da690e709072305476b450a620ac /crypt.go
parent8152bbb2cec76f074dc18c43f3c66bf8abdf9de0 (diff)
This closes #1244 and closes #1314, improving the compatibility with Google Sheet
- Format code with `gofmt`
Diffstat (limited to 'crypt.go')
-rw-r--r--crypt.go7
1 files changed, 3 insertions, 4 deletions
diff --git a/crypt.go b/crypt.go
index b00ccdf..a5670ac 100644
--- a/crypt.go
+++ b/crypt.go
@@ -1175,10 +1175,9 @@ func (c *cfb) writeSAT(MSATBlocks, SATBlocks, SSATBlocks, directoryBlocks, fileB
// Writer provides a function to create compound file with given info stream
// and package stream.
//
-// MSAT - The master sector allocation table
-// SSAT - The short sector allocation table
-// SAT - The sector allocation table
-//
+// MSAT - The master sector allocation table
+// SSAT - The short sector allocation table
+// SAT - The sector allocation table
func (c *cfb) Writer(encryptionInfoBuffer, encryptedPackage []byte) []byte {
var (
storage cfb