aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ScintillaBase.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2004-08-08 00:33:23 +0000
committernyamatongwe <devnull@localhost>2004-08-08 00:33:23 +0000
commit84b6c8b8943e9d78a2e0194209dafb09f8a09f17 (patch)
tree340008139231ee1c12401a04eb69700f8c2eefcf /src/ScintillaBase.cxx
parent9c94c8636caac2850e15073c3a40b862cfb74cd9 (diff)
downloadscintilla-mirror-84b6c8b8943e9d78a2e0194209dafb09f8a09f17.tar.gz
Patch from Niki Spahiev to use correct character set in calltips.
Diffstat (limited to 'src/ScintillaBase.cxx')
-rw-r--r--src/ScintillaBase.cxx11
1 files changed, 6 insertions, 5 deletions
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();