core/systems/PluginInfoDatabase.cpp
changeset 293 83b5a2d33e3d
parent 264 31c842fad591
child 370 d3a484f98f6d
     1.1 --- a/core/systems/PluginInfoDatabase.cpp	Mon Jan 15 22:08:43 2007 +0000
     1.2 +++ b/core/systems/PluginInfoDatabase.cpp	Mon Jan 15 22:09:11 2007 +0000
     1.3 @@ -168,6 +168,8 @@
     1.4  					plugin->opts_size *= 2;
     1.5  				}
     1.6  				int newidx = memtab->CreateMem(plugin->opts_size * sizeof(PluginOpts), (void **)&table);
     1.7 +				/* in case it resized */
     1.8 +				plugin = (PluginSettings *)memtab->GetAddress(cur_plugin);
     1.9  				if (plugin->optarray != -1)
    1.10  				{
    1.11  					void *oldtable = memtab->GetAddress(plugin->optarray);