X-Git-Url: https://git.r.bdr.sh/rbdr/mobius/blobdiff_plain/7cd900d61edbd6d322db3cecb913adf574389320..6ee35e569bf1e24f09657fe61da0daaa21cd9192:/hotline/flattened_file_object.go diff --git a/hotline/flattened_file_object.go b/hotline/flattened_file_object.go index 6ccd9d7..63a189a 100644 --- a/hotline/flattened_file_object.go +++ b/hotline/flattened_file_object.go @@ -69,6 +69,7 @@ func (ffif *FlatFileInformationFork) friendlyCreator() []byte { } func (ffif *FlatFileInformationFork) setComment(comment []byte) error { + ffif.CommentSize = make([]byte, 2) ffif.Comment = comment binary.BigEndian.PutUint16(ffif.CommentSize, uint16(len(comment)))