diff options
Diffstat (limited to 'Stars45/RichTextBox.cpp')
-rw-r--r-- | Stars45/RichTextBox.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Stars45/RichTextBox.cpp b/Stars45/RichTextBox.cpp index d45a74e..a4fd31b 100644 --- a/Stars45/RichTextBox.cpp +++ b/Stars45/RichTextBox.cpp @@ -124,9 +124,9 @@ RichTextBox::DrawTabbedText() int RichTextBox::find_next_word_start(const char* text, int index) { // step through intra-word space: - while (text[index] && isspace(text[index]) && - (text[index] != '\t') && - (text[index] != '\n') && + while (text[index] && isspace(text[index]) && + (text[index] != '\t') && + (text[index] != '\n') && (text[index] != '<')) index++; @@ -144,8 +144,8 @@ int RichTextBox::find_next_word_end(const char* text, int index) index++; // step through word: - while (text[index] && !isspace(text[index]) && - (text[index] != '-') && + while (text[index] && !isspace(text[index]) && + (text[index] != '-') && (text[index] != '<')) index++; |