aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CallTip.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/CallTip.cxx
parent9c94c8636caac2850e15073c3a40b862cfb74cd9 (diff)
downloadscintilla-mirror-84b6c8b8943e9d78a2e0194209dafb09f8a09f17.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;