mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
Ticket #1403 (segfault mcedit after search)
fix: non redefined cp_source after autocorrect codeset
This commit is contained in:
parent
59ac0537e6
commit
d92bbf59b6
@ -1507,6 +1507,7 @@ static void check_codeset()
|
||||
display_codepage = get_codepage_index ( cp_display );
|
||||
utf8_display = str_isutf8 (_system_codepage);
|
||||
source_codepage = display_codepage;
|
||||
cp_source = cp_display;
|
||||
profile_changed = 1;
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user