about summary refs log tree commit diff stats
path: root/src/LYKeymap.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYKeymap.c')
-rw-r--r--src/LYKeymap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/LYKeymap.c b/src/LYKeymap.c
index ccdf8826..4d24983d 100644
--- a/src/LYKeymap.c
+++ b/src/LYKeymap.c
@@ -1,4 +1,4 @@
-/* $LynxId: LYKeymap.c,v 1.117 2015/12/14 00:13:39 Axel.Beckert Exp $ */
+/* $LynxId: LYKeymap.c,v 1.118 2015/12/17 01:27:51 tom Exp $ */
 #include <HTUtils.h>
 #include <LYUtils.h>
 #include <LYGlobalDefs.h>
@@ -852,7 +852,9 @@ 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(buf) - (dst - buf) - 1);
+		    LYStrNCpy(dst,
+			      table[n].name,
+			      sizeof(buf) - (size_t) ((dst - buf) - 1));
 		    adj += (int) strlen(dst) - 1;
 		    dst += (int) strlen(dst);
 		    break;
tik/view.love/commit/keychord.lua?id=4aa2003c94e8cdadde3d353a8cbc631c3a92833d'>4aa2003 ^
f421e1d ^
4aa2003 ^
3b4daca ^
4aa2003 ^

3b4daca ^
4aa2003 ^

3b4daca ^
f4235a1 ^

3b4daca ^
f4235a1 ^
4aa2003 ^



0fab1b4 ^
1326914 ^
3b4daca ^
a6ab7a2 ^

d441f8a ^
1326914 ^
d441f8a ^


1326914 ^
d441f8a ^


1326914 ^
d441f8a ^

3b4daca ^
1326914 ^
d441f8a ^

a6ab7a2 ^


















0fab1b4 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71