解决issue 【主要】【区域语言】蒙古语时切换长格式设置闪退

This commit is contained in:
shaozhimin 2024-07-11 09:24:35 +08:00
parent f02b663f61
commit 31d3da475d
1 changed files with 1 additions and 1 deletions

View File

@ -1850,7 +1850,7 @@ void kdk_free_logn_dateinfo(kdk_logn_dateinfo *date)
int kdk_system_set_long_dateformat(char *format)
{
int i = 0;
char tmp[64] = {0};
char tmp[128] = {0};
char *homeDir = NULL;
strcpy(tmp, format);
GKeyFile *config = g_key_file_new();