You've already forked lazarus-ccr
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:
@ -3313,8 +3313,7 @@ begin
|
|||||||
{ Column width in characters, using the width of the zero character
|
{ Column width in characters, using the width of the zero character
|
||||||
from default font (first FONT record in the file). }
|
from default font (first FONT record in the file). }
|
||||||
w := AWorksheet.ReadDefaultColWidth(suChars);
|
w := AWorksheet.ReadDefaultColWidth(suChars);
|
||||||
{ It is written in units of 1/256 of the character width }
|
AStream.WriteWord(round(w));
|
||||||
AStream.WriteWord(round(w * 256));
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{@@ ----------------------------------------------------------------------------
|
{@@ ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user