diff options
| author | Stefan Weil <sw@weilnetz.de> | 2014-01-20 08:12:06 +0100 | 
|---|---|---|
| committer | Stefan Weil <sw@weilnetz.de> | 2014-01-20 08:12:06 +0100 | 
| commit | 4bd582a1f7ee61746255c313bb9cff3a8aa40d4d (patch) | |
| tree | 94d08c1e1441b4162a72605122f53800fb11b47e /win32/PlatWin.cxx | |
| parent | e8c2c0f8673bf48679ba83da6757361e77ba621d (diff) | |
| download | scintilla-mirror-4bd582a1f7ee61746255c313bb9cff3a8aa40d4d.tar.gz | |
Fix typos in comments (win32)
Diffstat (limited to 'win32/PlatWin.cxx')
| -rw-r--r-- | win32/PlatWin.cxx | 6 | 
1 files changed, 3 insertions, 3 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; | 
