diff options
author | Thomas E. Dickey <dickey@invisible-island.net> | 2015-12-14 00:14:24 -0500 |
---|---|---|
committer | Thomas E. Dickey <dickey@invisible-island.net> | 2015-12-14 00:14:24 -0500 |
commit | 84b858446526002867227b47c790d20273b8e146 (patch) | |
tree | 6bfc26d4bae27b44750368756481abe602bc1762 /src | |
parent | 231dc852bc6568e13b9f74ee09387637907ce91a (diff) | |
download | lynx-snapshots-84b858446526002867227b47c790d20273b8e146.tar.gz |
snapshot of project "lynx", label v2-8-9dev_6m
Diffstat (limited to 'src')
-rw-r--r-- | src/LYKeymap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/LYKeymap.c b/src/LYKeymap.c index a457c835..ccdf8826 100644 --- a/src/LYKeymap.c +++ b/src/LYKeymap.c @@ -1,4 +1,4 @@ -/* $LynxId: LYKeymap.c,v 1.115 2015/10/07 23:24:24 tom Exp $ */ +/* $LynxId: LYKeymap.c,v 1.117 2015/12/14 00:13:39 Axel.Beckert Exp $ */ #include <HTUtils.h> #include <LYUtils.h> #include <LYGlobalDefs.h> @@ -424,10 +424,10 @@ static Kcmd revmap[] = "search within the current document"), DATA( LYK_PREV, "PREV", - "search for the previous occurence"), + "search for the previous occurrence"), DATA( LYK_NEXT, "NEXT", - "search for the next occurence"), + "search for the next occurrence"), DATA( LYK_COMMENT, "COMMENT", "send a comment to the author of the current document"), @@ -852,7 +852,7 @@ static char *pretty_html(int c) for (n = 0; n < TABLESIZE(table); n++) { if (c == table[n].code) { found = TRUE; - LYStrNCpy(dst, table[n].name, sizeof(dst) - 1); + LYStrNCpy(dst, table[n].name, sizeof(buf) - (dst - buf) - 1); adj += (int) strlen(dst) - 1; dst += (int) strlen(dst); break; |