mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
1d118e5861
commit
0f35d68da8
@ -1,5 +1,8 @@
|
|||||||
2000-06-05 Dave Peticolas <dave@krondo.com>
|
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/<lots>: moved gui-dependent definitions from
|
||||||
src/engine/gnc-common.h to src/engine/gnc-ui-common.h.
|
src/engine/gnc-common.h to src/engine/gnc-ui-common.h.
|
||||||
Use guint32 instead of home-grown typedef. This touched
|
Use guint32 instead of home-grown typedef. This touched
|
||||||
|
@ -1111,6 +1111,7 @@ xaccInitSplitRegister (SplitRegister *reg, int type)
|
|||||||
xaccSetPriceCellSharesValue (reg->creditCell, GNC_T);
|
xaccSetPriceCellSharesValue (reg->creditCell, GNC_T);
|
||||||
xaccSetPriceCellSharesValue (reg->ndebitCell, GNC_T);
|
xaccSetPriceCellSharesValue (reg->ndebitCell, GNC_T);
|
||||||
xaccSetPriceCellSharesValue (reg->ncreditCell, GNC_T);
|
xaccSetPriceCellSharesValue (reg->ncreditCell, GNC_T);
|
||||||
|
xaccSetPriceCellIsCurrency (reg->priceCell, GNC_T);
|
||||||
|
|
||||||
xaccSetBasicCellBlankHelp (®->priceCell->cell, PRICE_CELL_HELP);
|
xaccSetBasicCellBlankHelp (®->priceCell->cell, PRICE_CELL_HELP);
|
||||||
xaccSetBasicCellBlankHelp (®->valueCell->cell, VALUE_CELL_HELP);
|
xaccSetBasicCellBlankHelp (®->valueCell->cell, VALUE_CELL_HELP);
|
||||||
|
Loading…
Reference in New Issue
Block a user