diff options
-rw-r--r-- | win32/PlatWin.cxx | 6 | ||||
-rw-r--r-- | win32/ScintillaWin.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 6ea35d388..3bcc183a6 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -744,7 +744,7 @@ void SurfaceGDI::RoundedRectangle(PRectangle rc, ColourDesired fore, ColourDesir 8, 8); } -// Plot a point into a DWORD buffer symetrically to all 4 qudrants +// Plot a point into a DWORD buffer symmetrically to all 4 quadrants static void AllFour(DWORD *pixels, int width, int height, int x, int y, DWORD val) { pixels[y*width+x] = val; pixels[y*width+width-1-x] = val; @@ -987,7 +987,7 @@ void SurfaceGDI::MeasureWidths(Font &font_, const char *s, int len, XYPOSITION * if (!::GetTextExtentExPointW(hdc, tbuf.buffer, tbuf.tlen, maxWidthMeasure, &fit, poses.buffer, &sz)) { // Likely to have failed because on Windows 9x where function not available // So measure the character widths by measuring each initial substring - // Turns a linear operation into a qudratic but seems fast enough on test files + // Turns a linear operation into a quadratic but seems fast enough on test files for (int widthSS=0; widthSS < tbuf.tlen; widthSS++) { ::GetTextExtentPoint32W(hdc, tbuf.buffer, widthSS+1, &sz); poses.buffer[widthSS] = sz.cx; @@ -3053,7 +3053,7 @@ public: // Use GetProcAddress to get a pointer to the relevant function. virtual Function FindFunction(const char *name) { if (h != NULL) { - // 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 { FARPROC fp; Function f; diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx index 176faed1b..d9a1c88a0 100644 --- a/win32/ScintillaWin.cxx +++ b/win32/ScintillaWin.cxx @@ -411,7 +411,7 @@ ScintillaWin::~ScintillaWin() {} void ScintillaWin::Initialise() { // Initialize COM. If the app has already done this it will have - // no effect. If the app hasnt, we really shouldnt ask them to call + // no effect. If the app hasn't, we really shouldn't ask them to call // it just so this internal feature works. hrOle = ::OleInitialize(NULL); |