Fix #32954: Crash when activating 'International Fonts' in User Preferences

This commit is contained in:
Sergey Sharybin 2012-10-23 17:58:46 +00:00
parent 40242c2f44
commit 9756c85239

@ -162,8 +162,9 @@ static void fill_locales(void)
}
/* Add closing item to menu! */
locales_menu[idx].identifier = NULL;
locales_menu[idx].value = locales_menu[idx].icon = 0;
locales_menu[idx].identifier = locales_menu[idx].name = locales_menu[idx].description = "";
locales_menu[idx].name = locales_menu[idx].description = "";
BLI_file_free_lines(lines);
}