mirror of
https://github.com/vim/vim.git
synced 2025-09-30 04:44:14 -04:00
patch 8.1.1103: MS-Windows: old API calls are no longer needed
Problem: MS-Windows: old API calls are no longer needed. Solution: Always use the wide functions. (Ken Takata, closes #4199)
This commit is contained in:
@@ -133,14 +133,7 @@ global_ime_DefWindowProc(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
|
||||
|
||||
if (pIApp == NULL || pIApp->OnDefWindowProc(hWnd, Msg,
|
||||
wParam, lParam, &lResult) != S_OK)
|
||||
{
|
||||
#if defined(MSWIN)
|
||||
if (wide_WindowProc)
|
||||
lResult = DefWindowProcW(hWnd, Msg, wParam, lParam);
|
||||
else
|
||||
#endif
|
||||
lResult = DefWindowProc(hWnd, Msg, wParam, lParam);
|
||||
}
|
||||
lResult = DefWindowProcW(hWnd, Msg, wParam, lParam);
|
||||
return lResult;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user