These values shouldn't be declared static
This commit is contained in:
parent
08cb5a09b2
commit
ea5096fb8d
|
@ -2506,8 +2506,8 @@ int ami_gui_hotlist_scan(struct tree *tree, struct List *speed_button_list, stru
|
|||
struct node *root = tree_node_get_child(tree_get_root(tree));
|
||||
struct node *node;
|
||||
struct node_element *element;
|
||||
static WORD gen = 0;
|
||||
static int item = 0;
|
||||
WORD gen = 0;
|
||||
int item = 0;
|
||||
|
||||
for (node = root; node; node = tree_node_get_next(node))
|
||||
{
|
||||
|
|
|
@ -497,8 +497,8 @@ ULONG ami_menu_scan(struct tree *tree, bool count, struct gui_window_2 *gwin)
|
|||
struct node *root = tree_node_get_child(tree_get_root(tree));
|
||||
struct node *node;
|
||||
struct node_element *element;
|
||||
static WORD gen = 0;
|
||||
static ULONG item;
|
||||
WORD gen = 0;
|
||||
ULONG item;
|
||||
|
||||
item = AMI_MENU_HOTLIST;
|
||||
|
||||
|
|
Loading…
Reference in New Issue