Fix some typos. - enscript - GNU Enscript
 (HTM) git clone git://thinkerwim.org/enscript.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit ed440887c1580cd17b2fb58ef56a03b72428d76b
 (DIR) parent 765bc7ad98c5797c64edb608e06ed7f0de225f0b
 (HTM) Author: Tim Retout <diocles@gnu.org>
       Date:   Sat,  9 Jul 2011 21:59:11 +0100
       
       Fix some typos.
       
       Signed-off-by: Tim Retout <diocles@gnu.org>
       
       Diffstat:
         M ChangeLog                           |       3 +++
         M states/main.c                       |       2 +-
         M states/utils.c                      |       2 +-
       
       3 files changed, 5 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/ChangeLog b/ChangeLog
       @@ -3,6 +3,9 @@
                * src/Makefile.am: Remove ansi2knr option and supporting files.
                * afmlib/Makefile.am: Likewise.
        
       +        * states/utils.c (eval_expr): Fix typo in error string.
       +        * states/main.c (usage): Fix typo in --define usage string.
       +
        2010-06-02  Tim Retout  <diocles@gnu.org>
        
                Fix Savannah bug #28769 (segfault when parsing config file).
 (DIR) diff --git a/states/main.c b/states/main.c
       @@ -447,7 +447,7 @@ Usage: %s [OPTION]... [FILE]...\n\
        Mandatory arguments to long options are mandatory for short options too.\n"),
                  program);
          printf (_("\
       -  -D, --define=VAR=VAL       define variable VAR to have value VAR\n\
       +  -D, --define=VAR=VAL       define variable VAR to have value VAL\n\
          -f, --file=NAME            read state definitions from file NAME\n\
          -h, --help                 print this help and exit\n\
          -o, --output=NAME          save output to file NAME\n\
 (DIR) diff --git a/states/utils.c b/states/utils.c
       @@ -1116,7 +1116,7 @@ eval_expr (expr, env)
                  || (n->type == nSTRING && n2->u.integer >= n->u.str.len))
                {
                  fprintf (stderr,
       -                   _("%s:%d: error: array reference index out of rance\n"),
       +                   _("%s:%d: error: array reference index out of range\n"),
                           expr->filename, expr->linenum);
                  exit (1);
                }