OSDN Git Service
(root)
/
winmerge-jp
/
winmerge-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b30bbe1
)
Merge.cpp: Use Meiryo UI font instead of Meiryo font
author
sdottaka
<sdottaka@users.sourceforge.net>
Sun, 14 Jun 2015 13:10:47 +0000
(22:10 +0900)
committer
sdottaka
<sdottaka@users.sourceforge.net>
Sun, 14 Jun 2015 13:10:47 +0000
(22:10 +0900)
--HG--
branch : stable
Src/Merge.cpp
patch
|
blob
|
history
diff --git
a/Src/Merge.cpp
b/Src/Merge.cpp
index
ddc660b
..
54b4c6e
100644
(file)
--- a/
Src/Merge.cpp
+++ b/
Src/Merge.cpp
@@
-370,6
+370,8
@@
BOOL CMergeApp::InitInstance()
::ReleaseDC(NULL, hdc);
if (abs(ncm.lfMenuFont.lfHeight) > abs(lfHeight))
ncm.lfMenuFont.lfHeight = lfHeight;
+ if (wcscmp(ncm.lfMenuFont.lfFaceName, L"Meiryo") == 0 || wcscmp(ncm.lfMenuFont.lfFaceName, L"\U000030e1\U000030a4\U000030ea\U000030aa"/* "Meiryo" in Japanese */) == 0)
+ wcscpy_s(ncm.lfMenuFont.lfFaceName, L"Meiryo UI");
m_fontGUI.CreateFontIndirect(&ncm.lfMenuFont);
}