blob: b37514ff48a4fbf2ec973df6bb706c2c4790d9f4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/main.c.orig Wed Feb 5 21:54:34 2003
+++ src/main.c Tue Jun 15 03:15:09 2004
@@ -1300,7 +1300,7 @@
concat_dir_and_file (panel->cwd, selection (panel)->fname);
int i;
- i = mc_readlink (p, buffer, MC_MAXPATHLEN);
+ i = mc_readlink (p, buffer, MC_MAXPATHLEN - 1);
g_free (p);
if (i > 0) {
buffer[i] = 0;
|