Add forgotten parenthesis.

This commit is contained in:
Don HO 2015-07-29 14:30:50 +02:00
parent 21b5d6d27c
commit 16b4113afc

View File

@ -1219,7 +1219,7 @@ LRESULT Notepad_plus::process(HWND hwnd, UINT Message, WPARAM wParam, LPARAM lPa
case NPPM_SETSMOOTHFONT: case NPPM_SETSMOOTHFONT:
{ {
int param = lParam == 0 ? SC_EFF_QUALITY_DEFAULT : SC_EFF_QUALITY_LCD_OPTIMIZED; int param = (lParam == 0 ? SC_EFF_QUALITY_DEFAULT : SC_EFF_QUALITY_LCD_OPTIMIZED);
_mainEditView.execute(SCI_SETFONTQUALITY, param); _mainEditView.execute(SCI_SETFONTQUALITY, param);
_subEditView.execute(SCI_SETFONTQUALITY, param); _subEditView.execute(SCI_SETFONTQUALITY, param);
return TRUE; return TRUE;