Increase precision of stock prices.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2426 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Dave Peticolas 2000-06-06 07:51:21 +00:00
parent 1d118e5861
commit 0f35d68da8
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2000-06-05 Dave Peticolas <dave@krondo.com>
* src/register/splitreg.c (xaccInitSplitRegister): use higher
precision for stock prices.
* src/<lots>: moved gui-dependent definitions from
src/engine/gnc-common.h to src/engine/gnc-ui-common.h.
Use guint32 instead of home-grown typedef. This touched

View File

@ -1111,6 +1111,7 @@ xaccInitSplitRegister (SplitRegister *reg, int type)
xaccSetPriceCellSharesValue (reg->creditCell, GNC_T);
xaccSetPriceCellSharesValue (reg->ndebitCell, GNC_T);
xaccSetPriceCellSharesValue (reg->ncreditCell, GNC_T);
xaccSetPriceCellIsCurrency (reg->priceCell, GNC_T);
xaccSetBasicCellBlankHelp (&reg->priceCell->cell, PRICE_CELL_HELP);
xaccSetBasicCellBlankHelp (&reg->valueCell->cell, VALUE_CELL_HELP);