X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c260cbf80dc7d21a91950739e3c158899d994380..6403484578149a9ed8d40f38cb21d311b79a33ac:/misc/unictabl/mk_encodings.sh diff --git a/misc/unictabl/mk_encodings.sh b/misc/unictabl/mk_encodings.sh index a7dc61a7ac..90e3177ca3 100755 --- a/misc/unictabl/mk_encodings.sh +++ b/misc/unictabl/mk_encodings.sh @@ -78,7 +78,7 @@ echo " * */ -static struct { +static const struct { wxUint16 c /*code*/; wxUint8 s /*inaccurate substitution*/; } encoding_unicode_fallback[] = { @@ -92,7 +92,7 @@ done echo " {0, 0}" >> unictabl.inc echo " };" >> unictabl.inc echo " -static unsigned encoding_unicode_fallback_count = "`cat Fallbacks | wc -l`";" >> unictabl.inc +static const unsigned encoding_unicode_fallback_count = "`cat Fallbacks | wc -l`";" >> unictabl.inc echo " * adding reference table..." @@ -108,9 +108,9 @@ echo " * */ -static struct { +static const struct { wxFontEncoding encoding; // encoding identifier - wxUint16 *table; // 8bit to unicode table + const wxUint16 *table; // 8bit to unicode table } encodings_list[] = { " >> unictabl.inc