mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
misc cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@729 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
ed91e8e978
commit
a57fd9fd06
@ -159,7 +159,7 @@ PriceSetValue (BasicCell *_cell, const char *str)
|
||||
char buff[40];
|
||||
PriceCell *cell = (PriceCell *) _cell;
|
||||
|
||||
SET (((BasicCell *)_cell), str);
|
||||
SET (_cell, str);
|
||||
|
||||
cell->amount = xaccParseUSAmount (str);
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
/* ================================================ */
|
||||
|
||||
static void
|
||||
quick_set (struct _BasicCell *_cell,
|
||||
quick_set (BasicCell *_cell,
|
||||
const char *val)
|
||||
{
|
||||
QuickFillCell *cell = (QuickFillCell *) _cell;
|
||||
@ -50,7 +50,7 @@ quick_set (struct _BasicCell *_cell,
|
||||
/* when entering new cell, reset pointer to root */
|
||||
|
||||
static const char *
|
||||
quick_enter (struct _BasicCell *_cell,
|
||||
quick_enter (BasicCell *_cell,
|
||||
const char *val)
|
||||
{
|
||||
QuickFillCell *cell = (QuickFillCell *) _cell;
|
||||
@ -64,7 +64,7 @@ quick_enter (struct _BasicCell *_cell,
|
||||
* all modifications */
|
||||
|
||||
static const char *
|
||||
quick_modify (struct _BasicCell *_cell,
|
||||
quick_modify (BasicCell *_cell,
|
||||
const char *oldval,
|
||||
const char *change,
|
||||
const char *newval)
|
||||
@ -111,7 +111,7 @@ quick_modify (struct _BasicCell *_cell,
|
||||
/* when leaving cell, make sure that text was put into the qf */
|
||||
|
||||
static const char *
|
||||
quick_leave (struct _BasicCell *_cell,
|
||||
quick_leave (BasicCell *_cell,
|
||||
const char *val)
|
||||
{
|
||||
QuickFillCell *cell = (QuickFillCell *) _cell;
|
||||
|
@ -39,7 +39,7 @@
|
||||
/* ================================================ */
|
||||
|
||||
static const char *
|
||||
ToggleRecn (struct _BasicCell *_cell, const char *cur_val)
|
||||
ToggleRecn (BasicCell *_cell, const char *cur_val)
|
||||
{
|
||||
BasicCell *cell = (BasicCell *) _cell;
|
||||
char buff[2];
|
||||
|
Loading…
Reference in New Issue
Block a user