From adcbfb9789acf7035d973c35bcc65999261a75e8 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 11 Nov 2012 22:49:18 +0000 Subject: Fix options GUI cleanup (credit: Gazelle) --- amiga/gui_options.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'amiga') diff --git a/amiga/gui_options.c b/amiga/gui_options.c index b7c69ffeb..21ca8b73d 100755 --- a/amiga/gui_options.c +++ b/amiga/gui_options.c @@ -355,19 +355,19 @@ void ami_gui_opts_free(void) { int i; - for(i = 0; i++; i < OPTS_LAST) + for(i = 0; i < OPTS_LAST; i++) if(gadlab[i]) FreeVec((APTR)gadlab[i]); - for(i = 0; i++; i < OPTS_MAX_TABS) + for(i = 0; i < OPTS_MAX_TABS; i++) if(tabs[i]) FreeVec((APTR)tabs[i]); - for(i = 0; i++; i < OPTS_MAX_SCREEN) + for(i = 0; i < OPTS_MAX_SCREEN; i++) if(screenopts[i]) FreeVec((APTR)screenopts[i]); - for(i = 0; i++; i < OPTS_MAX_PROXY) + for(i = 0; i < OPTS_MAX_PROXY; i++) if(proxyopts[i]) FreeVec((APTR)proxyopts[i]); - for(i = 0; i++; i < OPTS_MAX_NATIVEBM) + for(i = 0; i < OPTS_MAX_NATIVEBM; i++) if(nativebmopts[i]) FreeVec((APTR)nativebmopts[i]); ami_gui_opts_websearch_free(websearch_list); -- cgit v1.2.3