aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/CallTip.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/CallTip.cxx')
-rw-r--r--src/CallTip.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CallTip.cxx b/src/CallTip.cxx
index f95a1db14..c83e2d2fd 100644
--- a/src/CallTip.cxx
+++ b/src/CallTip.cxx
@@ -129,7 +129,7 @@ PRectangle CallTip::CallTipStart(int pos, Point pt, const char *defn,
Surface *surfaceMeasure = Surface::Allocate();
if (!surfaceMeasure)
return PRectangle();
- surfaceMeasure->Init();
+ surfaceMeasure->Init(wCallTip.GetID());
surfaceMeasure->SetUnicodeMode(SC_CP_UTF8 == codePage);
surfaceMeasure->SetDBCSMode(codePage);
startHighlight = 0;