FLTK logo

[master] d4b210a - Remove unused declaration of Fl_Char

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Library      Forums      Links      Apps     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] d4b210a - Remove unused declaration of Fl_Char "Albrecht Schlosser" Aug 30, 2021  
 
commit d4b210a7639ae4ba400156d56968b4bcf4a10bdd
Author:     Albrecht Schlosser <albrechts.fltk@online.de>
AuthorDate: Mon Aug 30 12:01:32 2021 +0200
Commit:     Albrecht Schlosser <albrechts.fltk@online.de>
CommitDate: Mon Aug 30 12:02:16 2021 +0200

    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 FL/Fl_Input_.H FL/Fl_Input_.H
index 315f24a..254730c 100644
--- FL/Fl_Input_.H
+++ 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 FL/fl_types.h FL/fl_types.h
index c737507..ea1c529 100644
--- FL/fl_types.h
+++ 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
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.