FS#11187 - diacritic.c is in 'drivers' but it does not belong there
- Move diacritic.c to firmware/common - The function is_diacritic returns bool now git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25526 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
62321ed0bd
commit
56058c7213
4 changed files with 4 additions and 4 deletions
|
@ -865,7 +865,7 @@ struct plugin_api {
|
|||
the API gets incompatible */
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
int (*is_diacritic)(const unsigned short char_code, bool *is_rtl);
|
||||
bool (*is_diacritic)(const unsigned short char_code, bool *is_rtl);
|
||||
#endif
|
||||
};
|
||||
|
||||
|
|
|
@ -97,7 +97,7 @@ drivers/lcd-16bit-vert.c
|
|||
drivers/lcd-16bit.c
|
||||
#endif
|
||||
#endif /* LCD_DEPTH */
|
||||
drivers/diacritic.c
|
||||
common/diacritic.c
|
||||
#endif /* HAVE_LCD_BITMAP */
|
||||
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
|
|
|
@ -193,7 +193,7 @@ static const struct diac_range diac_ranges[] =
|
|||
static unsigned short mru_len = 0;
|
||||
static unsigned short diacritic_mru[MRU_MAX_LEN];
|
||||
|
||||
int is_diacritic(const unsigned short char_code, bool *is_rtl)
|
||||
bool is_diacritic(const unsigned short char_code, bool *is_rtl)
|
||||
{
|
||||
unsigned short mru, i;
|
||||
const struct diac_range *diac;
|
|
@ -26,5 +26,5 @@
|
|||
* Sets is_rtl (if it's not NULL) to whether the character
|
||||
* belongs to an RTL language.
|
||||
*/
|
||||
int is_diacritic(const unsigned short char_code, bool *is_rtl);
|
||||
bool is_diacritic(const unsigned short char_code, bool *is_rtl);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue