summaryrefslogtreecommitdiffstats
path: root/src/gui_w32.c
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2022-04-13 11:47:25 +0100
committerBram Moolenaar <Bram@vim.org>2022-04-13 11:47:25 +0100
commit77771d33f44bfb9f75eb857bd2f2bb4c2860cac3 (patch)
tree8458b25c002c5dadd13e58398401a5f6c21723b5 /src/gui_w32.c
parent9bbe5c6b8c44e08c90510c36596d13e54ca0eea4 (diff)
patch 8.2.4744: a terminal window can't use the bellv8.2.4744
Problem: A terminal window can't use the bell. Solution: Add bell support for the terminal window. (closes #10178)
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r--src/gui_w32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index d1cc06d5b9..35cb2d26a2 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -1696,7 +1696,7 @@ gui_mch_haskey(char_u *name)
void
gui_mch_beep(void)
{
- MessageBeep(MB_OK);
+ MessageBeep((UINT)-1);
}
/*
* Invert a rectangle from row r, column c, for nr rows and nc columns.