summaryrefslogtreecommitdiffstats
path: root/src/fileio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 22a735f559..b3018467ce 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -792,7 +792,10 @@ readfile(
if (!is_not_a_term())
{
#ifndef ALWAYS_USE_GUI
- mch_msg(_("Vim: Reading from stdin...\n"));
+# ifdef VIMDLL
+ if (!gui.in_use)
+# endif
+ mch_msg(_("Vim: Reading from stdin...\n"));
#endif
#ifdef FEAT_GUI
/* Also write a message in the GUI window, if there is one. */