fpspreadsheet: Fix biff default colwidth broken in prev commit.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4575 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2016-03-19 16:23:35 +00:00
parent ae7cebf901
commit 840ff82715

View File

@ -3313,8 +3313,7 @@ begin
{ Column width in characters, using the width of the zero character
from default font (first FONT record in the file). }
w := AWorksheet.ReadDefaultColWidth(suChars);
{ It is written in units of 1/256 of the character width }
AStream.WriteWord(round(w * 256));
AStream.WriteWord(round(w));
end;
{@@ ----------------------------------------------------------------------------