From 574a6b20d1c9c15b12e2fe6d834e0cbb55a504d7 Mon Sep 17 00:00:00 2001 From: Ri Xu Date: Fri, 1 Sep 2017 12:59:15 +0800 Subject: Golang 1.9 compatible, fix issue #111 --- comment.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'comment.go') diff --git a/comment.go b/comment.go index 3f57c84..6f2d624 100644 --- a/comment.go +++ b/comment.go @@ -171,7 +171,7 @@ func (f *File) addComment(commentsXML, cell string, formatSet *formatComment) { { RPr: &xlsxRPr{ B: " ", - Sz: &attrValInt{Val: 9}, + Sz: &attrValFloat{Val: 9}, Color: &xlsxColor{ Indexed: 81, }, @@ -182,7 +182,7 @@ func (f *File) addComment(commentsXML, cell string, formatSet *formatComment) { }, { RPr: &xlsxRPr{ - Sz: &attrValInt{Val: 9}, + Sz: &attrValFloat{Val: 9}, Color: &xlsxColor{ Indexed: 81, }, -- cgit v1.2.1