diff options
| author | nyamatongwe <devnull@localhost> | 2002-02-20 01:46:06 +0000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2002-02-20 01:46:06 +0000 |
| commit | 92f21a3cf29fc84cc3420d8341873920c7324999 (patch) | |
| tree | ad7fbd0ffb63b6da155b19a405c87ab3546e326c | |
| parent | d9bd39f0601f016dc842447d5bc3cf5d35eb3d70 (diff) | |
| download | scintilla-mirror-92f21a3cf29fc84cc3420d8341873920c7324999.tar.gz | |
Fixed bug where extra position element was written when measuring text in
Unicode mode.
| -rw-r--r-- | win32/PlatWin.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index 8cca64deb..709e6e480 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -570,7 +570,6 @@ void SurfaceImpl::MeasureWidths(Font &font_, const char *s, int len, int *positi } ui++; } - positions[i] = sz.cx; } else { if (!::GetTextExtentExPoint(hdc, s, len, 30000, &fit, positions, &sz)) { // Eeek - a NULL DC or other foolishness could cause this. |
