Skip to content

Commit

Permalink
Small fix to language selection on config window
Browse files Browse the repository at this point in the history
  • Loading branch information
crudelios committed Dec 27, 2023
1 parent 2253ecd commit cfe3373
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/window/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ static void init(int page, int show_background_image)
string_copy(translation_for(TR_CONFIG_LANGUAGE_DEFAULT), data.language_options_data[0], CONFIG_STRING_VALUE_MAX);
data.language_options[0] = data.language_options_data[0];
data.num_language_options = 1;
data.selected_language_option = 0;
const dir_listing *subdirs = dir_find_all_subdirectories();
const char *original_value = data.config_string_values[CONFIG_STRING_UI_LANGUAGE_DIR].original_value;
for (int i = 0; i < subdirs->num_files; i++) {
Expand Down

0 comments on commit cfe3373

Please sign in to comment.