fix part of issue #25
This commit is contained in:
@@ -199,7 +199,7 @@ func (w *WorkBook) get_string(buf io.ReadSeeker, size uint16) (res string, err e
|
||||
err = io.EOF
|
||||
}
|
||||
|
||||
var bts1 = make([]uint16, size)
|
||||
var bts1 = make([]uint16, n)
|
||||
for k, v := range bts[:n] {
|
||||
bts1[k] = uint16(v)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user