aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CallTip.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/CallTip.cxx
parent476d6fc270323155507763b4ea7c5f58cb748332 (diff)
downloadscintilla-mirror-6cf668234ff7f4d2c8d4e84f248087c83d16913f.tar.gz
Patch from Niki Spahiev to use correct character set in calltips.
Diffstat (limited to 'src/CallTip.cxx')
-rw-r--r--src/CallTip.cxx4
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;