Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-10-23 21:58:46 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-10-23 21:58:46 +0400
commit9756c85239bcef5dd61e46a3f40db82a155785ee (patch)
treea67f3d59f5880f60f6787c1988e022916750aa46 /source/blender/blenfont
parent40242c2f4410413c0fef6249208e41f031f1febe (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.c3
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);
}