diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-10-16 20:22:02 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2013-10-16 20:22:02 +0300 |
commit | f7b100cc0440d628c742f18ca1052144cf330366 (patch) | |
tree | 825aed17228e9cc0511f78129fe422252a5dd066 /scintilla/src/ViewStyle.cxx | |
parent | 89d33e9accdf452ddb421b2967db26e3ebb52e06 (diff) | |
download | notepad2-mod-f7b100cc0440d628c742f18ca1052144cf330366.zip notepad2-mod-f7b100cc0440d628c742f18ca1052144cf330366.tar.gz notepad2-mod-f7b100cc0440d628c742f18ca1052144cf330366.tar.bz2 |
Update Scintilla to v3.3.6 [da3cbb]
Diffstat (limited to 'scintilla/src/ViewStyle.cxx')
-rw-r--r-- | scintilla/src/ViewStyle.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scintilla/src/ViewStyle.cxx b/scintilla/src/ViewStyle.cxx index 4ac2b8e..b0723c2 100644 --- a/scintilla/src/ViewStyle.cxx +++ b/scintilla/src/ViewStyle.cxx @@ -324,7 +324,7 @@ void ViewStyle::Refresh(Surface &surface, int tabInChars) { }
maxAscent = 1;
maxDescent = 1;
- FindMaxAscentDescent(maxAscent, maxDescent);
+ FindMaxAscentDescent();
maxAscent += extraAscent;
maxDescent += extraDescent;
lineHeight = maxAscent + maxDescent;
@@ -514,7 +514,7 @@ FontRealised *ViewStyle::Find(const FontSpecification &fs) { return 0;
}
-void ViewStyle::FindMaxAscentDescent(unsigned int &maxAscent, unsigned int &maxDescent) {
+void ViewStyle::FindMaxAscentDescent() {
for (FontMap::const_iterator it = fonts.begin(); it != fonts.end(); ++it) {
if (maxAscent < it->second->ascent)
maxAscent = it->second->ascent;
|