UTF-8: Stepping functions set *count even if an assertion fails.
commita01be8bd6b5d3150e897d4c57e90b6d2e8d81f8d
authorKalle Olavi Niemitalo <kon@iki.fi>
Sun, 3 Sep 2006 00:08:56 +0000 (3 03:08 +0300)
committerKalle Olavi Niemitalo <Kalle@Astalo.kon.iki.fi>
Sun, 3 Sep 2006 00:08:56 +0000 (3 03:08 +0300)
treed7bce51501fac9dbf486ce9e5da1355897769fc7
parent86c9cb01ba955a668d88d06ff2d7d222f2a8f76e
UTF-8: Stepping functions set *count even if an assertion fails.

Previously, utf8_step_forward() and utf8_step_backward() left *count
unchanged if some parameter was invalid.  Now, they properly store 0.
This flaw had no effect in practice, because all current callers pass
count=NULL, and invalid parameters shouldn't be used anyway.
src/intl/charsets.c