summaryrefslogtreecommitdiffstats
path: root/src/gui_w32.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-27 18:13:23 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-27 18:13:23 +0100
commit85b11769ab507c7df93f319fd964fa579701b76b (patch)
treeb4fdc6eb96c888e12159a007610a3d2cbab3f31c /src/gui_w32.c
parent4d1961783fdcb133b6b181acb7166b9f1872bf09 (diff)
patch 7.4.1433v7.4.1433
Problem: The Sniff interface is no longer useful, the tool has not been available for may years. Solution: Delete the Sniff interface and related code.
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r--src/gui_w32.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index aff0ba26aa..6cc2e06988 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -326,7 +326,7 @@ static int s_findrep_is_find; /* TRUE for find dialog, FALSE
#endif
static HINSTANCE s_hinst = NULL;
-#if !defined(FEAT_SNIFF) && !defined(FEAT_GUI)
+#if !defined(FEAT_GUI)
static
#endif
HWND s_hwnd = NULL;
@@ -1927,23 +1927,6 @@ process_message(void)
}
#endif
-#ifdef FEAT_SNIFF
- if (sniff_request_waiting && want_sniff_request)
- {
- static char_u bytes[3] = {CSI, (char_u)KS_EXTRA, (char_u)KE_SNIFF};
- add_to_input_buf(bytes, 3); /* K_SNIFF */
- sniff_request_waiting = 0;
- want_sniff_request = 0;
- /* request is handled in normal.c */
- }
- if (msg.message == WM_USER)
- {
- MyTranslateMessage(&msg);
- pDispatchMessage(&msg);
- return;
- }
-#endif
-
#ifdef MSWIN_FIND_REPLACE
/* Don't process messages used by the dialog */
if (s_findrep_hwnd != NULL && pIsDialogMessage(s_findrep_hwnd, &msg))