From d4b210a7639ae4ba400156d56968b4bcf4a10bdd Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Mon, 30 Aug 2021 12:01:32 +0200 Subject: Remove unused declaration of Fl_Char --- FL/Fl_Input_.H | 4 ++-- FL/fl_types.h | 3 --- 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 -- cgit v1.2.3