Ticket #1403 (segfault mcedit after search)

fix: non redefined cp_source after autocorrect codeset
This commit is contained in:
Ilia Maslakov 2009-07-13 09:34:35 +00:00 committed by Ilia Maslakov
parent 59ac0537e6
commit d92bbf59b6

View File

@ -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 {