aboutsummaryrefslogtreecommitdiffstats
path: root/func.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2003-09-26 17:59:51 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2003-09-26 17:59:51 +0000
commiteb5aa3e9152b2078fc3341625b9eeecd6328494a (patch)
treea19587f2a7efc6f78ce5946016aad9d16ca30d53 /func.c
parentconv.c ucs_eucjp.h ucs_latin1.h: deleted (diff)
downloadw3m-eb5aa3e9152b2078fc3341625b9eeecd6328494a.tar.gz
w3m-eb5aa3e9152b2078fc3341625b9eeecd6328494a.zip
add comments
Diffstat (limited to '')
-rw-r--r--func.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/func.c b/func.c
index 9e948bd..f389e00 100644
--- a/func.c
+++ b/func.c
@@ -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)