summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-08-30 12:01:32 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-08-30 12:02:16 +0200
commitd4b210a7639ae4ba400156d56968b4bcf4a10bdd (patch)
treee358828dadb675208de268a4473587febd460544
parent6d78015071ecd755e027a3edc4a890d432a57c9d (diff)
Remove unused declaration of Fl_Char
-rw-r--r--FL/Fl_Input_.H4
-rw-r--r--FL/fl_types.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/FL/Fl_Input_.H b/FL/Fl_Input_.H
index 315f24a68..254730c1b 100644
--- a/FL/Fl_Input_.H
+++ b/FL/Fl_Input_.H
@@ -242,8 +242,8 @@ public:
*/
const char* value() const {return value_;}
- /* Returns the character at index \p i. */
- Fl_Char index(int i) const;
+ /* Returns the Unicode character at index \p i. */
+ unsigned int index(int i) const;
/**
Returns the number of bytes in value().
diff --git a/FL/fl_types.h b/FL/fl_types.h
index c737507e4..ea1c5299b 100644
--- a/FL/fl_types.h
+++ b/FL/fl_types.h
@@ -52,9 +52,6 @@ typedef unsigned long ulong;
*/
typedef unsigned int Fl_Shortcut;
-/** 24-bit Unicode character - upper 8 bits are unused */
-typedef unsigned int Fl_Char;
-
/*@}*/ /* group: Miscellaneous */
#endif