From c8ab474fa173218cfe16309c8fbf37ab29635ccc Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 22 Jul 2000 06:51:09 +0000 Subject: Updates to make new API work on both GTK+ and Win32. --- win32/PlatWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') 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(italic ? 1 : 0); - lf.lfCharSet = characterSet; + lf.lfCharSet = static_cast(characterSet); strcpy(lf.lfFaceName, faceName); } -- cgit v1.2.3