Mercurial > vim
diff src/mbyte.c @ 492:81c06952fb1d
updated for version 7.0135
author | vimboss |
---|---|
date | Tue, 23 Aug 2005 21:00:13 +0000 |
parents | 66080ac5dab7 |
children | 4772a5e3f9fa |
line wrap: on
line diff
--- a/src/mbyte.c +++ b/src/mbyte.c @@ -584,6 +584,10 @@ codepage_invalid: enc_latin9 = (STRCMP(p_enc, "iso-8859-15") == 0); #endif + /* Detect an encoding that uses latin1 characters. */ + enc_latin1like = (enc_utf8 || STRCMP(p_enc, "latin1") == 0 + || STRCMP(p_enc, "iso-8859-15") == 0); + /* * Set the function pointers. */