X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c260cbf80dc7d21a91950739e3c158899d994380..5ca59eb82e38957650bb4423030aa446c354cfe3:/misc/unictabl/mk_encodings.sh?ds=sidebyside diff --git a/misc/unictabl/mk_encodings.sh b/misc/unictabl/mk_encodings.sh index a7dc61a7ac..4f04323be0 100755 --- a/misc/unictabl/mk_encodings.sh +++ b/misc/unictabl/mk_encodings.sh @@ -1,5 +1,4 @@ #!/bin/sh -# CVS-ID: $Id$ echo " * compiling C source generator..." @@ -13,7 +12,6 @@ echo " /* * This file is #included by encconv.cpp * - * CVS-ID: \$Id\$ * * *** *** CAUTION! *** *** * Do not modify this file by hand! It is generated by shell @@ -78,7 +76,7 @@ echo " * */ -static struct { +static const struct { wxUint16 c /*code*/; wxUint8 s /*inaccurate substitution*/; } encoding_unicode_fallback[] = { @@ -92,7 +90,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 +106,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