diff options
author | nyamatongwe <unknown> | 2002-02-20 01:46:06 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2002-02-20 01:46:06 +0000 |
commit | 62afcdff49ff9d7e0ef796f85257b3100a6f8ccb (patch) | |
tree | ad7fbd0ffb63b6da155b19a405c87ab3546e326c | |
parent | 93b71bb4739b8a1ca613d91bf5bc427ba0635fba (diff) | |
download | scintilla-mirror-62afcdff49ff9d7e0ef796f85257b3100a6f8ccb.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. |