diff options
Diffstat (limited to 'src/gui_w32.c')
-rw-r--r-- | src/gui_w32.c | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c index aff0ba26a..6cc2e0698 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)) |