diff options
| author | nyamatongwe <unknown> | 2002-09-04 11:09:12 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2002-09-04 11:09:12 +0000 | 
| commit | 817a4da3f041039d0cf1e6e007d678807477a79d (patch) | |
| tree | f01825efbff081dd84e82ba87432e7a36c27d78c | |
| parent | 3f8a74aa87e7ddaf32c3259712846076e97ef4d3 (diff) | |
| download | scintilla-mirror-817a4da3f041039d0cf1e6e007d678807477a79d.tar.gz | |
Measure all characters in Unicode mode.
| -rw-r--r-- | win32/PlatWin.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 70f0faa1b..8b7373cc5 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -558,7 +558,7 @@ void SurfaceImpl::MeasureWidths(Font &font_, const char *s, int len, int *positi  		int ui=0;  		const unsigned char *us = reinterpret_cast<const unsigned char *>(s);  		int i=0; -		while (i<fit) { +		while (ui<fit) {  			unsigned char uch = us[i];  			positions[i++] = poses[ui];  			if (uch >= 0x80) { | 
