src/osd/winui/properties.c
| r7199 | r7200 | |
| 2081 | 2081 | |
| 2082 | 2082 | static BOOL DefaultInputReadControl(datamap *map, HWND dialog, HWND control, core_options *opts, const char *option_name) |
| 2083 | 2083 | { |
| 2084 | | TCHAR *screen_option_value; |
| 2085 | | int screen_option_index; |
| 2084 | TCHAR *input_option_value; |
| 2085 | int input_option_index; |
| 2086 | 2086 | const char *op_val; |
| 2087 | 2087 | |
| 2088 | | screen_option_index = ComboBox_GetCurSel(control); |
| 2089 | | screen_option_value = (TCHAR*) ComboBox_GetItemData(control, screen_option_index); |
| 2090 | | op_val = utf8_from_tstring(screen_option_value); |
| 2088 | input_option_index = ComboBox_GetCurSel(control); |
| 2089 | input_option_value = (TCHAR*) ComboBox_GetItemData(control, input_option_index); |
| 2090 | op_val = utf8_from_tstring(input_option_value); |
| 2091 | 2091 | options_set_string(opts, OPTION_CTRLR, op_val, OPTION_PRIORITY_CMDLINE); |
| 2092 | 2092 | return FALSE; |
| 2093 | 2093 | } |