summaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-10-11 14:28:11 +0200
committerBram Moolenaar <Bram@vim.org>2020-10-11 14:28:11 +0200
commitaab9fada4a9b9725ff42dffe9c7daff20f0fd85f (patch)
treed2c3d88b28befcefbfd4c44f3d49395dd99c41c3 /src/fileio.c
parentef16c90423ae579927e6294c1ccfd17c5a1c113c (diff)
patch 8.2.1832: readdirex() error is displayed as a messagev8.2.1832
Problem: readdirex() error is displayed as a message. (Yegappan Lakshmanan) Solution: Use semsg() instead of smsg().
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 83924b352c..3d6ff0da32 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -4743,7 +4743,7 @@ readdir_core(
if (!ok)
{
failed = TRUE;
- smsg(_(e_notopen), path);
+ semsg(_(e_notopen), path);
}
else
{
@@ -4813,7 +4813,7 @@ readdir_core(
if (dirp == NULL)
{
failed = TRUE;
- smsg(_(e_notopen), path);
+ semsg(_(e_notopen), path);
}
else
{