diff options
author | nyamatongwe <unknown> | 2000-07-22 06:51:09 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2000-07-22 06:51:09 +0000 |
commit | c8ab474fa173218cfe16309c8fbf37ab29635ccc (patch) | |
tree | e7dec8b009cb188dfeae386c35b8a845114d13dd /win32/PlatWin.cxx | |
parent | 1e00d4f26ac7e2a7ac67195c0a3516f832edf34c (diff) | |
download | scintilla-mirror-c8ab474fa173218cfe16309c8fbf37ab29635ccc.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); } |