diff options
author | nyamatongwe <devnull@localhost> | 2000-07-22 06:51:09 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2000-07-22 06:51:09 +0000 |
commit | 2701a4c8c7e2dea4cbd604146b58c81bbef0355a (patch) | |
tree | e7dec8b009cb188dfeae386c35b8a845114d13dd /win32/PlatWin.cxx | |
parent | a34352a312296ed8c9c0d7b9e94c402465530d2b (diff) | |
download | scintilla-mirror-2701a4c8c7e2dea4cbd604146b58c81bbef0355a.tar.gz |
Updates to make new API work on both GTK+ and Win32.
Diffstat (limited to 'win32/PlatWin.cxx')
-rw-r--r-- | win32/PlatWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 87f90cfa1..4eb1e2b47 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -127,7 +127,7 @@ void SetLogFont(LOGFONT &lf, const char *faceName, int characterSet, int size, b lf.lfHeight = -(abs(size)); lf.lfWeight = bold ? FW_BOLD : FW_NORMAL; lf.lfItalic = static_cast<BYTE>(italic ? 1 : 0); - lf.lfCharSet = characterSet; + lf.lfCharSet = static_cast<BYTE>(characterSet); strcpy(lf.lfFaceName, faceName); } |