Author: matt
Date: 2007-06-18 09:03:39 -0400 (Mon, 18 Jun 2007)
New Revision: 5913
Log:
Fixed wrong array size.
Modified:
branches/branch-1.1/src/fl_encoding_mac_roman.cxx
Modified: branches/branch-1.1/src/fl_encoding_mac_roman.cxx
===================================================================
--- branches/branch-1.1/src/fl_encoding_mac_roman.cxx 2007-06-18 09:35:42 UTC
(rev 5912)
+++ branches/branch-1.1/src/fl_encoding_mac_roman.cxx 2007-06-18 13:03:39 UTC
(rev 5913)
@@ -59,7 +59,7 @@
#else
// This table converts MSWindows-1252/Latin 1 into MacRoman encoding
-static uchar latin2roman[256] = {
+static uchar latin2roman[128] = {
0xdb, 0xc0, 0xe2, 0xc4, 0xe3, 0xc9, 0xa0, 0xe0, 0xf6, 0xe4, 0xc0, 0xdc, 0xce,
0xc0, 0xc0, 0xc0,
0xc0, 0xd4, 0xd5, 0xd2, 0xd3, 0xa5, 0xd0, 0xd1, 0xf7, 0xaa, 0xc0, 0xdd, 0xcf,
0xc0, 0xc0, 0xd9,
0xca, 0xc1, 0xa2, 0xa3, 0xc0, 0xb4, 0xc0, 0xa4, 0xac, 0xa9, 0xbb, 0xc7, 0xc2,
0xc0, 0xa8, 0xf8,
@@ -71,7 +71,7 @@
};
// This table converts MacRoman into MSWindows-1252/Latin 1
-static uchar roman2latin[256] = {
+static uchar roman2latin[128] = {
0xc4, 0xc5, 0xc7, 0xc9, 0xd1, 0xd6, 0xdc, 0xe1, 0xe0, 0xe2, 0xe4, 0xe3, 0xe5,
0xe7, 0xe9, 0xe8,
0xea, 0xeb, 0xed, 0xec, 0xee, 0xef, 0xf1, 0xf3, 0xf2, 0xf4, 0xf6, 0xf5, 0xfa,
0xf9, 0xfb, 0xfc,
0x86, 0xb0, 0xa2, 0xa3, 0xa7, 0x95, 0xb6, 0xdf, 0xae, 0xa9, 0x99, 0xb4, 0xa8,
0xbf, 0xc6, 0xd8,
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit