wordpad: Remove variable i which is not really used from OnCommand.

oldstable
Gerald Pfeifer 2010-04-24 14:09:26 +02:00 committed by Alexandre Julliard
parent 0151175127
commit 2488c8a545
1 changed files with 3 additions and 3 deletions

View File

@ -2244,12 +2244,12 @@ static LRESULT OnCommand( HWND hWnd, WPARAM wParam, LPARAM lParam)
case ID_EDIT_DEFCHARFORMAT:
{
CHARFORMAT2W cf;
LRESULT i;
ZeroMemory(&cf, sizeof(cf));
cf.cbSize = sizeof(cf);
cf.dwMask = 0;
i = SendMessageW(hwndEditor, EM_GETCHARFORMAT,
LOWORD(wParam) == ID_EDIT_CHARFORMAT, (LPARAM)&cf);
SendMessageW(hwndEditor, EM_GETCHARFORMAT,
LOWORD(wParam) == ID_EDIT_CHARFORMAT, (LPARAM)&cf);
return 0;
}