diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/SOURCES | 2 | ||||
-rw-r--r-- | firmware/common/diacritic.c (renamed from firmware/drivers/diacritic.c) | 2 | ||||
-rw-r--r-- | firmware/include/diacritic.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES index dd1575a076..719fc80b83 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES | |||
@@ -97,7 +97,7 @@ drivers/lcd-16bit-vert.c | |||
97 | drivers/lcd-16bit.c | 97 | drivers/lcd-16bit.c |
98 | #endif | 98 | #endif |
99 | #endif /* LCD_DEPTH */ | 99 | #endif /* LCD_DEPTH */ |
100 | drivers/diacritic.c | 100 | common/diacritic.c |
101 | #endif /* HAVE_LCD_BITMAP */ | 101 | #endif /* HAVE_LCD_BITMAP */ |
102 | 102 | ||
103 | #ifdef HAVE_REMOTE_LCD | 103 | #ifdef HAVE_REMOTE_LCD |
diff --git a/firmware/drivers/diacritic.c b/firmware/common/diacritic.c index ff40b195c7..aa2726c5fb 100644 --- a/firmware/drivers/diacritic.c +++ b/firmware/common/diacritic.c | |||
@@ -193,7 +193,7 @@ static const struct diac_range diac_ranges[] = | |||
193 | static unsigned short mru_len = 0; | 193 | static unsigned short mru_len = 0; |
194 | static unsigned short diacritic_mru[MRU_MAX_LEN]; | 194 | static unsigned short diacritic_mru[MRU_MAX_LEN]; |
195 | 195 | ||
196 | int is_diacritic(const unsigned short char_code, bool *is_rtl) | 196 | bool is_diacritic(const unsigned short char_code, bool *is_rtl) |
197 | { | 197 | { |
198 | unsigned short mru, i; | 198 | unsigned short mru, i; |
199 | const struct diac_range *diac; | 199 | const struct diac_range *diac; |
diff --git a/firmware/include/diacritic.h b/firmware/include/diacritic.h index 052be7f894..52ce6b0646 100644 --- a/firmware/include/diacritic.h +++ b/firmware/include/diacritic.h | |||
@@ -26,5 +26,5 @@ | |||
26 | * Sets is_rtl (if it's not NULL) to whether the character | 26 | * Sets is_rtl (if it's not NULL) to whether the character |
27 | * belongs to an RTL language. | 27 | * belongs to an RTL language. |
28 | */ | 28 | */ |
29 | int is_diacritic(const unsigned short char_code, bool *is_rtl); | 29 | bool is_diacritic(const unsigned short char_code, bool *is_rtl); |
30 | #endif | 30 | #endif |