From 780752d276578751a58435ba3d3b6600a90a16b0 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Tue, 26 Jan 2016 23:55:14 +0000 Subject: fix the incorrect copy'n'pasted parameters --- amiga/gui_options.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'amiga') diff --git a/amiga/gui_options.c b/amiga/gui_options.c index 6af96f627..85d9094a4 100755 --- a/amiga/gui_options.c +++ b/amiga/gui_options.c @@ -234,16 +234,16 @@ CONST_STRPTR gadlab[OPTS_LAST]; struct List *websearch_list; #ifndef __amigaos4__ -static void ami_gui_opts_array_to_list(struct List *list, const char array[], int type) +static void ami_gui_opts_array_to_list(struct List *list, const char *array[], int type) { int i = 0; struct Node *node; - NewList(&gow->clicktablist); + NewList(list); do { - node = AllocClickTabNode(TNA_Text, tabs[i], TNA_Number, i, TAG_DONE); - AddTail(&gow->clicktablist, node); + node = AllocClickTabNode(TNA_Text, array[i], TNA_Number, i, TAG_DONE); + AddTail(list, node); i++; } while (tabs[i] != 0); } @@ -253,8 +253,8 @@ static void ami_gui_opts_free_list(struct List *list, int type) struct Node *node; struct Node *nnode; - if(IsListEmpty((struct List *)&gow->clicktablist)) return; - node = GetHead((struct List *)&gow->clicktablist); + if(IsListEmpty((struct List *)list)) return; + node = GetHead((struct List *)list); do { nnode = GetSucc(node); -- cgit v1.2.3