From 4c4880b69f2dc98a8f899fe394ea15a32bcf70f7 Mon Sep 17 00:00:00 2001 From: aph Date: Tue, 1 Apr 2014 20:03:46 +0100 Subject: remove MB_{IS,TO}{UPPER,LOWER} --- src/spell.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/spell.c') diff --git a/src/spell.c b/src/spell.c index d349b9fe80..f684e5b2b0 100644 --- a/src/spell.c +++ b/src/spell.c @@ -8685,13 +8685,13 @@ void init_spell_chartab(void) } else { /* Rough guess: use locale-dependent library functions. */ for (i = 128; i < 256; ++i) { - if (MB_ISUPPER(i)) { + if (vim_isupper(i)) { spelltab.st_isw[i] = TRUE; spelltab.st_isu[i] = TRUE; - spelltab.st_fold[i] = MB_TOLOWER(i); - } else if (MB_ISLOWER(i)) { + spelltab.st_fold[i] = vim_tolower(i); + } else if (vim_islower(i)) { spelltab.st_isw[i] = TRUE; - spelltab.st_upper[i] = MB_TOUPPER(i); + spelltab.st_upper[i] = vim_toupper(i); } } } -- cgit