From c8938df8f464e9ee5d325c32cf2a9fe98a82616c Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 17 Dec 2018 07:12:50 +0530 Subject: [PATCH] Fix #165 --- src/nnn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nnn.c b/src/nnn.c index a50babfe..46eec7c1 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -1405,8 +1405,8 @@ END: buf[len] = '\0'; DPRINTF_S(buf); - wcstombs(g_buf + ((NAME_MAX + 1) << 4), buf, NAME_MAX); - return g_buf + ((NAME_MAX + 1) << 4); + wcstombs(g_buf + ((NAME_MAX + 1) << 2), buf, NAME_MAX); + return g_buf + ((NAME_MAX + 1) << 2); } /*