diff options
Diffstat (limited to 'amiga/gui_options.c')
-rwxr-xr-x | amiga/gui_options.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/amiga/gui_options.c b/amiga/gui_options.c index b7c69ffeb..27b3c6314 100755 --- a/amiga/gui_options.c +++ b/amiga/gui_options.c @@ -355,20 +355,20 @@ void ami_gui_opts_free(void) { int i; - for(i = 0; i++; i < OPTS_LAST) - if(gadlab[i]) FreeVec((APTR)gadlab[i]); + for(i = 0; i < OPTS_LAST; i++) + if(gadlab[i]) free((APTR)gadlab[i]); - for(i = 0; i++; i < OPTS_MAX_TABS) - if(tabs[i]) FreeVec((APTR)tabs[i]); + for(i = 0; i < OPTS_MAX_TABS; i++) + if(tabs[i]) free((APTR)tabs[i]); - for(i = 0; i++; i < OPTS_MAX_SCREEN) - if(screenopts[i]) FreeVec((APTR)screenopts[i]); + for(i = 0; i < OPTS_MAX_SCREEN; i++) + if(screenopts[i]) free((APTR)screenopts[i]); - for(i = 0; i++; i < OPTS_MAX_PROXY) - if(proxyopts[i]) FreeVec((APTR)proxyopts[i]); + for(i = 0; i < OPTS_MAX_PROXY; i++) + if(proxyopts[i]) free((APTR)proxyopts[i]); - for(i = 0; i++; i < OPTS_MAX_NATIVEBM) - if(nativebmopts[i]) FreeVec((APTR)nativebmopts[i]); + for(i = 0; i < OPTS_MAX_NATIVEBM; i++) + if(nativebmopts[i]) free((APTR)nativebmopts[i]); ami_gui_opts_websearch_free(websearch_list); } |