diff options
Diffstat (limited to 'func.c')
-rw-r--r-- | func.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: func.c,v 1.26 2003/09/24 18:48:59 ukai Exp $ */ +/* $Id: func.c,v 1.27 2003/09/26 17:59:51 ukai Exp $ */ /* * w3m func.c */ @@ -29,8 +29,10 @@ setKeymap(char *p, int lineno, int verbose) c = getKey(s); if (c < 0) { /* error */ if (lineno > 0) + /* FIXME: gettextize? */ emsg = Sprintf("line %d: unknown key '%s'", lineno, s)->ptr; else + /* FIXME: gettextize? */ emsg = Sprintf("defkey: unknown key '%s'", s)->ptr; record_err_message(emsg); if (verbose) @@ -41,8 +43,10 @@ setKeymap(char *p, int lineno, int verbose) f = getFuncList(s); if (f < 0) { if (lineno > 0) + /* FIXME: gettextize? */ emsg = Sprintf("line %d: invalid command '%s'", lineno, s)->ptr; else + /* FIXME: gettextize? */ emsg = Sprintf("defkey: invalid command '%s'", s)->ptr; record_err_message(emsg); if (verbose) |