mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
fix language loading
This commit is contained in:
10
src/main.c
10
src/main.c
@@ -76,11 +76,6 @@ int main(int argc, char** argv)
|
||||
config_defaults();
|
||||
lang_defaults();
|
||||
|
||||
if (strcmp(config.lang, "en") != 0)
|
||||
{
|
||||
lang_load();
|
||||
}
|
||||
|
||||
char *config_path = NULL;
|
||||
// parse args
|
||||
const struct argoat_sprig sprigs[ARG_COUNT] =
|
||||
@@ -114,6 +109,11 @@ int main(int argc, char** argv)
|
||||
|
||||
config_load(config_path);
|
||||
|
||||
if (strcmp(config.lang, "en") != 0)
|
||||
{
|
||||
lang_load();
|
||||
}
|
||||
|
||||
void* input_structs[3] =
|
||||
{
|
||||
(void*) &desktop,
|
||||
|
||||
Reference in New Issue
Block a user