mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Start ids with the number one. Allows zero to be used to indicate
that a id is not set. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/gnucash-gnome2-dev@9364 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -64,7 +64,7 @@ typedef struct
|
||||
|
||||
/** Static Variables ************************************************/
|
||||
static guint suspend_counter = 0;
|
||||
static gint next_component_id = 0;
|
||||
static gint next_component_id = 1;
|
||||
static GList *components = NULL;
|
||||
|
||||
static ComponentEventInfo changes = { NULL, NULL, FALSE };
|
||||
|
||||
@@ -41,7 +41,7 @@ typedef struct
|
||||
|
||||
/** Static Variables ************************************************/
|
||||
static guint suspend_counter = 0;
|
||||
static gint next_handler_id = 0;
|
||||
static gint next_handler_id = 1;
|
||||
static GList *handlers = NULL;
|
||||
|
||||
/* This static indicates the debugging module that this .o belongs to. */
|
||||
|
||||
Reference in New Issue
Block a user