diff options
author | Stefan Weil <sw@weilnetz.de> | 2014-01-20 08:01:51 +0100 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2014-01-20 08:01:51 +0100 |
commit | d77efc572d9ec0493ac7e4553249cd9da1482f82 (patch) | |
tree | dd5e65de479cad04e014e53f2261c8445a7c58d2 /qt/ScintillaEditBase/PlatQt.cpp | |
parent | e798951ddb4e40343fa1c78dd26dcd31852a23b0 (diff) | |
download | scintilla-mirror-d77efc572d9ec0493ac7e4553249cd9da1482f82.tar.gz |
Fix typos in comments (qt)
Diffstat (limited to 'qt/ScintillaEditBase/PlatQt.cpp')
-rw-r--r-- | qt/ScintillaEditBase/PlatQt.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt/ScintillaEditBase/PlatQt.cpp b/qt/ScintillaEditBase/PlatQt.cpp index 836df1f9b..9b63b30de 100644 --- a/qt/ScintillaEditBase/PlatQt.cpp +++ b/qt/ScintillaEditBase/PlatQt.cpp @@ -528,7 +528,7 @@ XYPOSITION SurfaceImpl::Descent(Font &font) QFontMetrics metrics(*FontPointer(font), device); // Qt returns 1 less than true descent // See: QFontEngineWin::descent which says: - // ### we substract 1 to even out the historical +1 in QFontMetrics's + // ### we subtract 1 to even out the historical +1 in QFontMetrics's // ### height=asc+desc+1 equation. Fix in Qt5. return metrics.descent() + 1; } @@ -1088,7 +1088,7 @@ public: virtual Function FindFunction(const char *name) { if (lib) { - // C++ standard doesn't like casts betwen function pointers and void pointers so use a union + // C++ standard doesn't like casts between function pointers and void pointers so use a union union { #if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0) QFunctionPointer fp; |