X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/045c4fab85bd7bcc59010d663e23ea70dda3c7bc..5b88a837ba75928cd3835a6b97ae2bf5ad983a6e:/misc/unictabl/mk_encodings.sh diff --git a/misc/unictabl/mk_encodings.sh b/misc/unictabl/mk_encodings.sh index f97abc6687..90e3177ca3 100755 --- a/misc/unictabl/mk_encodings.sh +++ b/misc/unictabl/mk_encodings.sh @@ -11,36 +11,36 @@ echo " * writing copyright info..." echo " /* - * This file is #included by encconv.cpp + * This file is #included by encconv.cpp * - * CVS-ID: \$Id\$ + * CVS-ID: \$Id\$ * - * *** *** CAUTION! *** *** - * Do not modify this file by hand! It is generated by shell - * script \$(WXWIN)/misc/unictabl/regenerate + * *** *** CAUTION! *** *** + * Do not modify this file by hand! It is generated by shell + * script \$(WXWIN)/misc/unictabl/regenerate * - * Parts of this file are based on tables published by Unicode, Inc. - * Original tables are freely available at - * ftp://ftp.unicode.org/MAPPINGS + * Parts of this file are based on tables published by Unicode, Inc. + * Original tables are freely available at + * ftp://ftp.unicode.org/Public/MAPPINGS * - * Original copyright info as present in mapping tables follows: + * Original copyright info as present in mapping tables follows: * * - * Copyright (c) 1991-1999 Unicode, Inc. All Rights reserved. + * Copyright (c) 1991-1999 Unicode, Inc. All Rights reserved. * - * This file is provided as-is by Unicode, Inc. (The Unicode Consortium). - * No claims are made as to fitness for any particular purpose. No - * warranties of any kind are expressed or implied. The recipient - * agrees to determine applicability of information provided. If this - * file has been provided on optical media by Unicode, Inc., the sole - * remedy for any claim will be exchange of defective media within 90 - * days of receipt. + * This file is provided as-is by Unicode, Inc. (The Unicode Consortium). + * No claims are made as to fitness for any particular purpose. No + * warranties of any kind are expressed or implied. The recipient + * agrees to determine applicability of information provided. If this + * file has been provided on optical media by Unicode, Inc., the sole + * remedy for any claim will be exchange of defective media within 90 + * days of receipt. * - * Unicode, Inc. hereby grants the right to freely use the information - * supplied in this file in the creation of products supporting the - * Unicode Standard, and to make copies of this file in any form for - * internal or external distribution as long as this notice remains - * attached. + * Unicode, Inc. hereby grants the right to freely use the information + * supplied in this file in the creation of products supporting the + * Unicode Standard, and to make copies of this file in any form for + * internal or external distribution as long as this notice remains + * attached. */ " > unictabl.inc @@ -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