diff options
Diffstat (limited to 'src/CallTip.cxx')
| -rw-r--r-- | src/CallTip.cxx | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/CallTip.cxx b/src/CallTip.cxx index 93e888d0e..003284c12 100644 --- a/src/CallTip.cxx +++ b/src/CallTip.cxx @@ -214,7 +214,7 @@ void CallTip::MouseClick(Point pt) {  PRectangle CallTip::CallTipStart(int pos, Point pt, const char *defn,                                   const char *faceName, int size, -                                 int codePage_, Window &wParent) { +                                 int codePage_, int characterSet, Window &wParent) {  	clickPlace = 0;  	if (val)  		delete []val; @@ -234,7 +234,7 @@ PRectangle CallTip::CallTipStart(int pos, Point pt, const char *defn,  	inCallTipMode = true;  	posStartCallTip = pos;  	int deviceHeight = surfaceMeasure->DeviceHeightFont(size); -	font.Create(faceName, SC_CHARSET_DEFAULT, deviceHeight, false, false); +	font.Create(faceName, characterSet, deviceHeight, false, false);  	// Look for multiple lines in the text  	// Only support \n here - simply means container must avoid \r!  	int numLines = 1; | 
