# HG changeset patch # User Bram Moolenaar # Date 1338565619 -7200 # Node ID a8897fd5d074d7baaba692013521304b13beb784 # Parent ce38bebe94f46b9e28e22fa68dc4f9f3e7dfaa7b updated for version 7.3.536 Problem: When spell checking the German sharp s is not seen as a word character. (Aexl Bender) Solution: In utf_islower() return true for the sharp s. Note: also need updated spell file for this to take effect. diff --git a/src/mbyte.c b/src/mbyte.c --- a/src/mbyte.c +++ b/src/mbyte.c @@ -2949,7 +2949,7 @@ static convertStruct toUpper[] = { {0x61,0x7a,1,-32}, {0xb5,0xb5,-1,743}, - {0xe0,0xf6,1,-32}, + {0xe0,0xf6,1,-32}, /* 0xdf (German sharp s) is not upper-cased */ {0xf8,0xfe,1,-32}, {0xff,0xff,-1,121}, {0x101,0x12f,2,-1}, @@ -3129,7 +3129,8 @@ utf_toupper(a) utf_islower(a) int a; { - return (utf_toupper(a) != a); + /* German sharp s is lower case but has no upper case equivalent. */ + return (utf_toupper(a) != a) || a == 0xdf; } /* diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 536, +/**/ 535, /**/ 534,