refactored some XLAT calls for automated analysis, fixing some bugs on the way

This commit is contained in:
Zeno Rogue committed 2021-05-23 16:00:50 +02:00
1 parent b92c621112
commit c0002da574
9 files changed
+58 -41

No files matched your search

+2 -1
View File
@@ -2835,7 +2835,8 @@ EX void edit_all_settings() {
}
void list_setting::show_edit_option(char key) {
dialog::addSelItem(XLAT(menu_item_name), XLAT(options[get_value()].first), key);
string opt = options[get_value()].first;
dialog::addSelItem(XLAT(menu_item_name), XLAT(opt), key);
dialog::add_action_push([this] {
add_to_changed(this);
gamescreen(2);