From 9151b95f3336b1a078f757d87fd432e9e3b9b29e Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 7 Aug 2011 21:55:27 +1000 Subject: Match new argument types to Font::Create. --- src/CallTip.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/CallTip.cxx b/src/CallTip.cxx index cdc30fcbc..6fd11730d 100644 --- a/src/CallTip.cxx +++ b/src/CallTip.cxx @@ -273,7 +273,7 @@ PRectangle CallTip::CallTipStart(int pos, Point pt, const char *defn, inCallTipMode = true; posStartCallTip = pos; int deviceHeight = surfaceMeasure->DeviceHeightFont(size); - font.Create(faceName, characterSet, deviceHeight, false, false); + font.Create(faceName, characterSet, deviceHeight / SC_FONT_SIZE_MULTIPLIER, SC_WEIGHT_NORMAL, false); // Look for multiple lines in the text // Only support \n here - simply means container must avoid \r! int numLines = 1; -- cgit v1.2.3