of TRUE, as that's the proper way to force its UTF-8 support on
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3799
35c25a1d-7b9e-4130-9fde-
d3aeb78583b8
edit_scroll(). (DLR, found by Daniel Richard G.)
- Rename the DISABLE_ROOTWRAP #define to DISABLE_ROOTWRAPPING.
(DLR)
+ - When using slang 2.x, call SLutf8_enable() with an argument of
+ 1 instead of TRUE, as that's the proper way to force its UTF-8
+ support on. Changes to main() and configure.ac. (DLR)
- browser.c:
do_browser()
- Refactor the mouse support, modeling it after do_mouse() for
#include <slcurses.h>
int main(void)
{
- SLutf8_enable(TRUE);
+ SLutf8_enable(1);
return 0;
}],
[AC_MSG_RESULT(yes)
#include <slcurses.h>
int main(void)
{
- SLutf8_enable(TRUE);
+ SLutf8_enable(1);
return 0;
}],
[AC_MSG_RESULT(yes)
#include <slcurses.h>
int main(void)
{
- SLutf8_enable(TRUE);
+ SLutf8_enable(1);
return 0;
}],
[AC_MSG_RESULT(yes)
if (locale != NULL && (strcasestr(locale, "UTF8") != NULL ||
strcasestr(locale, "UTF-8") != NULL)) {
#ifdef USE_SLANG
- SLutf8_enable(TRUE);
+ SLutf8_enable(1);
#endif
utf8_init();
}