diff options
author | Sv. Lockal <lockalsash@gmail.com> | 2012-07-07 18:58:40 +0400 |
---|---|---|
committer | Sv. Lockal <lockalsash@gmail.com> | 2012-07-07 18:58:40 +0400 |
commit | d58ce290e1e4dcb8d0b96259fdf29c854bfaef49 (patch) | |
tree | 558af032374b00ff5b4df1af4b4663ca3dacc078 /source/blender/editors | |
parent | 3dacc164e4fe7d31a926112f2aa11852c20eadc6 (diff) |
increase file browser title length for multibyte translations and use utf8 copy for it
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_file/filesel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_file/filesel.c b/source/blender/editors/space_file/filesel.c index adb3e7acca5..ef3e150b034 100644 --- a/source/blender/editors/space_file/filesel.c +++ b/source/blender/editors/space_file/filesel.c @@ -117,7 +117,7 @@ short ED_fileselect_set_params(SpaceFile *sfile) const short is_directory = (RNA_struct_find_property(op->ptr, "directory") != NULL); const short is_relative_path = (RNA_struct_find_property(op->ptr, "relative_path") != NULL); - BLI_strncpy(params->title, RNA_struct_ui_name(op->type->srna), sizeof(params->title)); + BLI_strncpy_utf8(params->title, RNA_struct_ui_name(op->type->srna), sizeof(params->title)); if (RNA_struct_find_property(op->ptr, "filemode")) params->type = RNA_int_get(op->ptr, "filemode"); |