aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ScintillaBase.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2004-08-08 00:33:23 +0000
committernyamatongwe <unknown>2004-08-08 00:33:23 +0000
commit6cf668234ff7f4d2c8d4e84f248087c83d16913f (patch)
tree340008139231ee1c12401a04eb69700f8c2eefcf /src/ScintillaBase.cxx
parent476d6fc270323155507763b4ea7c5f58cb748332 (diff)
downloadscintilla-mirror-6cf668234ff7f4d2c8d4e84f248087c83d16913f.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();