mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-01 00:54:24 +03:00
Merge branch '1451_chahset_dlg_place_panel_long_list'
* 1451_chahset_dlg_place_panel_long_list: Ticket #1451: Incorrect charset menu location for 'Long file list' lising mode.
This commit is contained in:
commit
5d7a816fd3
@ -2683,7 +2683,9 @@ set_panel_encoding (WPanel *panel)
|
||||
offset = (get_current_index () != 0) ? panel->widget.lines : -panel->widget.lines;
|
||||
r = select_charset (0, offset, source_codepage, FALSE);
|
||||
} else {
|
||||
offset = (get_current_index () != 0) ? panel->widget.cols : -panel->widget.cols;
|
||||
offset = (panel->widget.cols == COLS) ? 0
|
||||
: (get_current_index () != 0) ? panel->widget.cols
|
||||
: -panel->widget.cols;
|
||||
r = select_charset (offset, 0, source_codepage, FALSE);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user