Commit ad344e9d authored by David Lawrence Ramsey's avatar David Lawrence Ramsey
Browse files

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-d3aeb78583b8
No related merge requests found
Showing with 3 additions and 1 deletion
+3 -1
......@@ -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. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment