Diacritic display enhancements
commit378aeb37d57780c387e4ca43044264e2250eda68
authortomers <tomers@a1c6a512-1295-4272-9138-f99709370657>
Sat, 28 Nov 2009 17:07:57 +0000 (28 17:07 +0000)
committertomers <tomers@a1c6a512-1295-4272-9138-f99709370657>
Sat, 28 Nov 2009 17:07:57 +0000 (28 17:07 +0000)
tree72ba77525fae0b356e6976175ddfe114d5a12c02
parentfc39782657cdd8f270380cf3f19e9beff0024f10
Diacritic display enhancements

- Use the fact that unicode code currently does not support chars above 0xffff
  (see utf8decode()), and change diacritic database's char code type to
  unsigned short from int. Also comment out database entries above unsupported
  range.

- Use const when possible.

- Iterate over buffer using the buffer's pointer, thus avoiding usage of some
  variables, and avoiding multiple access to the same array item.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23776 a1c6a512-1295-4272-9138-f99709370657
firmware/drivers/diacritic.c
firmware/drivers/lcd-bitmap-common.c
firmware/include/diacritic.h