]> git.saurik.com Git - wxWidgets.git/blobdiff - misc/unictabl/mk_encodings.sh
Destroy the wxDialog::ShowWindowModalThenDo() functor a.s.a.p.
[wxWidgets.git] / misc / unictabl / mk_encodings.sh
index a7dc61a7acf09deb199250847fc7a7f33c56547d..4f04323be0a74188c42cf877385e7f4e48391f8c 100755 (executable)
@@ -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