summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugin.h2
-rw-r--r--firmware/SOURCES2
-rw-r--r--firmware/common/diacritic.c (renamed from firmware/drivers/diacritic.c)2
-rw-r--r--firmware/include/diacritic.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index 464a581dab..31c87433e7 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -865,7 +865,7 @@ struct plugin_api {
865 the API gets incompatible */ 865 the API gets incompatible */
866 866
867#ifdef HAVE_LCD_BITMAP 867#ifdef HAVE_LCD_BITMAP
868 int (*is_diacritic)(const unsigned short char_code, bool *is_rtl); 868 bool (*is_diacritic)(const unsigned short char_code, bool *is_rtl);
869#endif 869#endif
870}; 870};
871 871
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
97drivers/lcd-16bit.c 97drivers/lcd-16bit.c
98#endif 98#endif
99#endif /* LCD_DEPTH */ 99#endif /* LCD_DEPTH */
100drivers/diacritic.c 100common/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[] =
193static unsigned short mru_len = 0; 193static unsigned short mru_len = 0;
194static unsigned short diacritic_mru[MRU_MAX_LEN]; 194static unsigned short diacritic_mru[MRU_MAX_LEN];
195 195
196int is_diacritic(const unsigned short char_code, bool *is_rtl) 196bool 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 */
29int is_diacritic(const unsigned short char_code, bool *is_rtl); 29bool is_diacritic(const unsigned short char_code, bool *is_rtl);
30#endif 30#endif