diff options
author | nyamatongwe <devnull@localhost> | 2011-08-07 21:55:27 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-08-07 21:55:27 +1000 |
commit | 39174f2769e156433ceb60596009159a817c8dbc (patch) | |
tree | 058853d775f0c40e586e00081d1426d1c5d24461 /src | |
parent | 65b8d104af351c0a5be2c62ad843dad8362ad8eb (diff) | |
download | scintilla-mirror-39174f2769e156433ceb60596009159a817c8dbc.tar.gz |
Match new argument types to Font::Create.
Diffstat (limited to 'src')
-rw-r--r-- | src/CallTip.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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; |