diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-10-23 21:58:46 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2012-10-23 21:58:46 +0400 |
commit | 9756c85239bcef5dd61e46a3f40db82a155785ee (patch) | |
tree | a67f3d59f5880f60f6787c1988e022916750aa46 /source/blender/blenfont | |
parent | 40242c2f4410413c0fef6249208e41f031f1febe (diff) |
Fix #32954: Crash when activating 'International Fonts' in User Preferences
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r-- | source/blender/blenfont/intern/blf_lang.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenfont/intern/blf_lang.c b/source/blender/blenfont/intern/blf_lang.c index 19d94f2ace4..5ad06148f01 100644 --- a/source/blender/blenfont/intern/blf_lang.c +++ b/source/blender/blenfont/intern/blf_lang.c @@ -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); } |