| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #1411
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 3 - Moderate, e.g. unable to compile the software |
Scope: | 2 - Specific to an operating system |
Subsystem: | MacOS |
Summary: | fl_encoding_latin1.cxx not working |
Version: | 1.1-current |
Created By: | christoph |
Assigned To: | matt |
Fix Version: | 1.1-current (SVN: v5408) |
Update Notification: | |
Trouble Report Files:
No files
Trouble Report Comments:
|
#1 | christoph 09:12 Sep 03, 2006 |
| fl_encoding_latin1.cxx contains critical errors, making it currently unusable: - in fl_latin1_to_local() the loop over the characters in the text is missing - the conversion tables have the wrong size. It should be [128] rather than [256]. Surprisingly gcc compiles it nevertheless, but access to the table yields garbage.
Actually this applies to all OS, but the functions from this file are only essential on OSX. | |
|
#2 | matt 11:47 Sep 04, 2006 |
| Fixed in Subversion repository.
The first bug would only cause a compiler error if the size was less than the number of elements. If it is more, it's filled with 0s.
The second bug is just emberrasing ;-) | |
[ Return to Bugs & Features ]
|
| |