wordpad: Remove variable i which is not really used from OnCommand.
This commit is contained in:
parent
0151175127
commit
2488c8a545
programs/wordpad
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue