[MSPAINT] Some minor improvements (#4264)

- Fix Japanese IDS_MINIATURETITLE resource string.
- Fix Japanese IDM_VIEWSHOWMINIATURE menu item text.
- Fix DWORD as COLORREF.
- Improve some OnPaint's.
CORE-17969
This commit is contained in:
Katayama Hirofumi MZ 2022-01-10 21:44:13 +09:00 committed by GitHub
parent edf92c004d
commit 3456538e3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 21 additions and 19 deletions

View file

@ -15,13 +15,13 @@
LRESULT CPaletteWindow::OnPaint(UINT nMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled)
{
RECT rc = { 0, 0, 31, 32 };
HDC hDC = GetDC();
HPEN oldPen;
HBRUSH oldBrush;
int i, a, b;
DefWindowProc(WM_PAINT, wParam, lParam);
HDC hDC = GetDC();
for(b = 2; b < 30; b++)
for(a = 2; a < 29; a++)
if ((a + b) % 2 == 1)