From 6cf668234ff7f4d2c8d4e84f248087c83d16913f Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 8 Aug 2004 00:33:23 +0000 Subject: Patch from Niki Spahiev to use correct character set in calltips. --- src/ScintillaBase.cxx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/ScintillaBase.cxx') diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index 066569f1d..e67c03ac5 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -357,11 +357,12 @@ void ScintillaBase::CallTipShow(Point pt, const char *defn) { AutoCompleteCancel(); pt.y += vs.lineHeight; PRectangle rc = ct.CallTipStart(currentPos, pt, - defn, - vs.styles[STYLE_DEFAULT].fontName, - vs.styles[STYLE_DEFAULT].sizeZoomed, - CodePage(), - wMain); + defn, + vs.styles[STYLE_DEFAULT].fontName, + vs.styles[STYLE_DEFAULT].sizeZoomed, + CodePage(), + vs.styles[STYLE_DEFAULT].characterSet, + wMain); // If the call-tip window would be out of the client // space, adjust so it displays above the text. PRectangle rcClient = GetClientRectangle(); -- cgit v1.2.3