Fix options GUI cleanup (credit: Gazelle)

This commit is contained in:
Chris Young 2012-11-11 22:49:18 +00:00
parent 8c60d38769
commit adcbfb9789
1 changed files with 5 additions and 5 deletions

View File

@ -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);