mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-02 12:08:16 +08:00
improve set default locale before application_init
This commit is contained in:
parent
11c8b81775
commit
cb0100e0bc
@ -192,10 +192,10 @@ int main(int argc, char* argv[]) {
|
||||
#endif /*ENABLE_CURSOR*/
|
||||
|
||||
GLOBAL_INIT();
|
||||
application_init();
|
||||
#if defined(APP_DEFAULT_LANGUAGE) && defined(APP_DEFAULT_COUNTRY)
|
||||
locale_info_change(locale_info(), APP_DEFAULT_LANGUAGE, APP_DEFAULT_COUNTRY);
|
||||
#endif /*APP_DEFAULT_LANGUAGE and APP_DEFAULT_LANGUAGE*/
|
||||
application_init();
|
||||
tk_run();
|
||||
application_exit();
|
||||
GLOBAL_EXIT();
|
||||
|
Loading…
Reference in New Issue
Block a user