From 51657e10769faa2617d546a06c42e4c62a19bb50 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 30 Jan 2022 17:41:24 +0100 Subject: Removed trailing whitespace all over the place --- Stars45/RichTextBox.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Stars45/RichTextBox.cpp') 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++; -- cgit v1.1