summaryrefslogtreecommitdiffhomepage
path: root/Stars45/RichTextBox.cpp
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2022-01-30 17:41:24 +0100
committerAki <please@ignore.pl>2022-01-30 17:41:24 +0100
commit51657e10769faa2617d546a06c42e4c62a19bb50 (patch)
tree688ad8b61ac02e50974684b9b7d3f886fb469e5f /Stars45/RichTextBox.cpp
parentdb987e23d5dd33a5db8764743facbb906ac22b0f (diff)
downloadstarshatter-51657e10769faa2617d546a06c42e4c62a19bb50.zip
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.gz
starshatter-51657e10769faa2617d546a06c42e4c62a19bb50.tar.bz2
Removed trailing whitespace all over the place
Diffstat (limited to 'Stars45/RichTextBox.cpp')
-rw-r--r--Stars45/RichTextBox.cpp10
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++;