More fontdialog.cpp work. This is gonna kill me...

This commit is contained in:
Pietro Gagliardi 2016-04-14 22:40:01 -04:00
parent d3c4b0cf4d
commit 8ac3c53e0f
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ static struct fontDialog *beginFontDialog(HWND hwnd, LPARAM lParam)
if (SendMessageW(f->sizeCombobox, CB_SETTOPINDEX, (WPARAM) ten, 0) != 0) if (SendMessageW(f->sizeCombobox, CB_SETTOPINDEX, (WPARAM) ten, 0) != 0)
logLastError("error making 10 visible in the size combobox in beginFontDialog()"); logLastError("error making 10 visible in the size combobox in beginFontDialog()");
// TODO use GetComboBoxInfo() to add ES_NUMBER to the size combobox's edit box // note: we can't add ES_NUMBER to the combobox entry (it seems to disable the entry instead?!), so we must do validation when the box is dmissed; TODO
return f; return f;
} }