Browse Source

tags/2021-05-28
jules 17 years ago
parent
commit
80ab76f672
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/juce_appframework/gui/components/controls/juce_TextEditor.cpp

+ 1
- 1
src/juce_appframework/gui/components/controls/juce_TextEditor.cpp View File

@@ -2387,7 +2387,7 @@ void TextEditor::getCharPosition (const int index, float& cx, float& cy, float&
{
const float wordWrapWidth = getWordWrapWidth();
if (wordWrapWidth > 0)
if (wordWrapWidth > 0 && sections.size() > 0)
{
TextEditorIterator i (sections, wordWrapWidth, passwordCharacter);


Loading…
Cancel
Save