src/settings_gui.cpp
changeset 5609 dc6a58930ba4
parent 5601 d58f82901b2f
child 5668 36b39f4a9032
--- a/src/settings_gui.cpp	Thu Jan 11 15:30:35 2007 +0000
+++ b/src/settings_gui.cpp	Thu Jan 11 17:29:39 2007 +0000
@@ -695,7 +695,7 @@
 			for (page = &_patches_page[0]; page != endof(_patches_page); page++) {
 				uint i;
 
-				MallocT(&page->entries, page->num);
+				page->entries = MallocT<PatchEntry>(page->num);
 				for (i = 0; i != page->num; i++) {
 					uint index;
 					const SettingDesc *sd = GetPatchFromName(page->names[i], &index);