make bad_mbchar a static const char* const in chars.c, as its value
doesn't change git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3823 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
6827146dd2
commit
ad344e9d1d
|
@ -49,6 +49,8 @@ CVS code -
|
|||
UTF-8 support. Changes to main() and configure.ac. (DLR)
|
||||
- Fix punctuation relating to "i.e." in various comments and
|
||||
documentation. (Benno Schulenberg and DLR)
|
||||
- Make bad_mbchar a static const char* const in chars.c, as its
|
||||
value doesn't change. (DLR)
|
||||
- browser.c:
|
||||
do_browser()
|
||||
- Refactor the mouse support, modeling it after do_mouse() for
|
||||
|
|
|
@ -41,7 +41,7 @@ static const wchar_t bad_wchar = 0xFFFD;
|
|||
* Unicode FFFD (Replacement Character), unless we're
|
||||
* determining if it's a control character or searching for a
|
||||
* match to it. */
|
||||
static const char *bad_mbchar = "\xEF\xBF\xBD";
|
||||
static const char *const bad_mbchar = "\xEF\xBF\xBD";
|
||||
static const int bad_mbchar_len = 3;
|
||||
|
||||
/* Enable UTF-8 support. */
|
||||
|
|
Loading…
Reference in New Issue