X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd1a22d1d32ddb1ed65c0443e8333d3d3e12ca81..5b88a837ba75928cd3835a6b97ae2bf5ad983a6e:/misc/unictabl/mk_encodings.sh?ds=inline diff --git a/misc/unictabl/mk_encodings.sh b/misc/unictabl/mk_encodings.sh index 45d894953b..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,7 +108,7 @@ echo " * */ -static struct { +static const struct { wxFontEncoding encoding; // encoding identifier const wxUint16 *table; // 8bit to unicode table } encodings_list[] = {