This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
utf8.c: Refactor a portion of to_utf8_case()
authorKarl Williamson <public@khwilliamson.com>
Wed, 6 Jun 2012 21:50:53 +0000 (15:50 -0600)
committerKarl Williamson <public@khwilliamson.com>
Thu, 7 Jun 2012 15:55:50 +0000 (09:55 -0600)
commitcbe07460d443564aea40e4397ab55080aab2d0b9
tree5e0e6e974b709848f0a7bf90f5c3c0d15bfc96b5
parentdd9267d7ed4287d573abd56d1aadf2152c628baf
utf8.c: Refactor a portion of to_utf8_case()

This routine can never return 0, as if there is no case mapping, the
input is used instead.  The code point for that input has already been
derived earlier in the function, so it doesn't have to be recalculated.
And, rearrange the order of things slightly.
utf8.c