diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2009-01-25 22:42:28 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2009-01-25 22:42:28 -0500 |
commit | f2ee8aa9cdc210dc3be066eff423747f23aacb53 (patch) | |
tree | d89be9c01fbf02d777e9e86c69213c60b77e2575 /src/LYKeymap.c | |
parent | 5aa0c91d4f2d8c5941936e5fce75145efaf72104 (diff) | |
download | lynx-snapshots-f2ee8aa9cdc210dc3be066eff423747f23aacb53.tar.gz |
snapshot of project "lynx", label v2-8-7dev_12e
Diffstat (limited to 'src/LYKeymap.c')
-rw-r--r-- | src/LYKeymap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYKeymap.c b/src/LYKeymap.c index ddad2284..f5c1af27 100644 --- a/src/LYKeymap.c +++ b/src/LYKeymap.c @@ -1,4 +1,4 @@ -/* $LynxId: LYKeymap.c,v 1.67 2009/01/03 02:06:45 Paul.Gilmartin Exp $ */ +/* $LynxId: LYKeymap.c,v 1.68 2009/01/25 18:34:57 tom Exp $ */ #include <HTUtils.h> #include <LYUtils.h> #include <LYGlobalDefs.h> @@ -1382,7 +1382,7 @@ int lkcstring_to_lkc(const char *src) else if (strlen(src) == 2 && *src == '^') c = src[1] & 037; else if (strlen(src) >= 2 && isdigit(UCH(*src))) { - if (sscanf(src, "%i", &c) != 1) + if (sscanf(src, "%d", &c) != 1) return (-1); #ifdef USE_KEYMAPS } else { |