mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-05 11:01:13 +02:00
Jun T. 24872 + 24873: capitalization with combining characters
This commit is contained in:
parent
0f00952d57
commit
31ca309299
2 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
2008-04-26 Peter Stephenson <p.w.stephenson@ntlworld.com>
|
||||
|
||||
* 24872 (revised 24873): Jun T.: Fix capitalization with
|
||||
combining characters.
|
||||
|
||||
* 24869: Marc Chantreux: configure.ac, Src/init.c: make default
|
||||
readnullcmd configurable.
|
||||
|
||||
|
|
|
@ -1567,6 +1567,10 @@ casemodify(char *str, int how)
|
|||
|
||||
case CASMOD_CAPS:
|
||||
default: /* shuts up compiler */
|
||||
#ifdef MULTIBYTE_SUPPORT
|
||||
if (IS_COMBINING(wc))
|
||||
break;
|
||||
#endif
|
||||
if (!iswalnum(wc))
|
||||
nextupper = 1;
|
||||
else if (nextupper) {
|
||||
|
|
Loading…
Reference in a new issue