summaryrefslogtreecommitdiff
path: root/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands.c')
-rw-r--r--commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands.c b/commands.c
index 5b47064..77127d7 100644
--- a/commands.c
+++ b/commands.c
@@ -319,7 +319,7 @@ eOSState cCMDDir::ProcessKey(eKeys Key)
seldir++;
if(seldir[0] == '/')
seldir++;
- strn0cpy((char*)Buffer, seldir, MaxFileName);
+ strn0cpy(Buffer, seldir, memberof(Buffer));
cRemote::Put(kBack);
}
DELETENULL(info);