diff options
-rw-r--r-- | xfa/fde/cfde_texteditengine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fde/cfde_texteditengine.cpp b/xfa/fde/cfde_texteditengine.cpp index cfe844e656..6c1e8dcc6c 100644 --- a/xfa/fde/cfde_texteditengine.cpp +++ b/xfa/fde/cfde_texteditengine.cpp @@ -439,7 +439,7 @@ size_t CFDE_TextEditEngine::GetIndexLeft(size_t pos) const { return 0; --pos; - wchar_t ch = GetChar(pos); + wchar_t ch; while (pos != 0) { // We want to be on the location just before the \r or \n ch = GetChar(pos - 1); |