*** empty log message ***
[m17n/m17n-lib.git] / example / mview.c
index d548300..ad5cd42 100644 (file)
@@ -1,5 +1,5 @@
 /* mview.c -- File viewer                              -*- coding: euc-jp; -*-
-   Copyright (C) 2003, 2004
+   Copyright (C) 2003, 2004, 2005, 2006, 2007
      National Institute of Advanced Industrial Science and Technology (AIST)
      Registration Number H15PRO112
 
@@ -17,7 +17,7 @@
 
    You should have received a copy of the GNU Lesser General Public
    License along with the m17n library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
    02111-1307, USA.  */
 
 /***en
 #include <X11/Xaw/Command.h>
 #include <X11/Xaw/Viewport.h>
 
-#define VERSION "1.2.0"
-
 /* Global m17n variables.  */
 MFrame *frame;
 MText *mt;
@@ -290,8 +288,8 @@ main (int argc, char **argv)
        help_exit (argv[0], 0);
       else if (! strcmp (argv[i], "--version"))
        {
-         printf ("m17n-view (m17n library) %s\n", VERSION);
-         printf ("Copyright (C) 2003 AIST, JAPAN\n");
+         printf ("m17n-view (m17n library) %s\n", M17NLIB_VERSION_NAME);
+         printf ("Copyright (C) 2003, 2004, 2005, 2006, 2007 AIST, JAPAN\n");
          exit (0);
        }
       else if (! strcmp (argv[i], "-e"))