Fixed type of variables that store result of get_codepage_id().

This commit is contained in:
Andrew Borodin 2009-06-15 23:35:20 +04:00
parent 205fa24e7d
commit 6e86e9f383
2 changed files with 2 additions and 2 deletions

View File

@ -282,7 +282,7 @@ edit_load_file_fast (WEdit *edit, const char *filename)
long buf, buf2;
int file = -1;
#ifdef HAVE_CHARSET
char *cp_id;
const char *cp_id;
#endif
edit->curs2 = edit->last_byte;

View File

@ -2336,7 +2336,7 @@ edit_select_codepage_cmd (WEdit *edit)
{
#ifdef HAVE_CHARSET
if (do_select_codepage ()) {
char *cp_id;
const char *cp_id;
cp_id = get_codepage_id (source_codepage);
if (cp_id != NULL)