diff options
author | nyamatongwe <unknown> | 2011-08-07 21:55:27 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-08-07 21:55:27 +1000 |
commit | 9151b95f3336b1a078f757d87fd432e9e3b9b29e (patch) | |
tree | 8d5ad12ae9a3b4d0ad2a11f701c30a9ad5c0fd42 | |
parent | b120dee8b3f38d061f605091388369f7c36df431 (diff) | |
download | scintilla-mirror-9151b95f3336b1a078f757d87fd432e9e3b9b29e.tar.gz |
Match new argument types to Font::Create.
-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; |