From 1ebd703f0567062de68cfae627e2a5de149494c9 Mon Sep 17 00:00:00 2001 From: Markus Gans Date: Tue, 26 May 2015 23:15:49 +0200 Subject: [PATCH] Remove eol spaces --- src/flabel.cpp | 4 ++-- src/fstring.cpp | 4 ++-- test/input-dialog.cpp | 6 +++--- test/ui.cpp | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/flabel.cpp b/src/flabel.cpp index 6b08963d..3ee650c5 100644 --- a/src/flabel.cpp +++ b/src/flabel.cpp @@ -148,7 +148,7 @@ void FLabel::draw() to_char = int(length); else to_char = width - 2; - + if ( hasReverseMode() ) setReverse(true); @@ -181,7 +181,7 @@ void FLabel::draw() } if ( hasReverseMode() ) setReverse(false); - + setUpdateVTerm(true); delete[] LabelText; } diff --git a/src/fstring.cpp b/src/fstring.cpp index 9df80f4b..3bba4640 100644 --- a/src/fstring.cpp +++ b/src/fstring.cpp @@ -40,7 +40,7 @@ FString::FString (int len, wchar_t c) length = 0; bufsize = 0; c_string = 0; - + if ( len >= 0 ) _replace ( FString(uInt(len), c).string ); else @@ -68,7 +68,7 @@ FString::FString (int len, char c) length = 0; bufsize = 0; c_string = 0; - + if ( len >= 0 ) _replace ( FString(uInt(len), c).string ); else diff --git a/test/input-dialog.cpp b/test/input-dialog.cpp index 7c5576ac..5f0e2d8c 100644 --- a/test/input-dialog.cpp +++ b/test/input-dialog.cpp @@ -84,13 +84,13 @@ int main (int argc, char* argv[]) // Create the button group FButtonGroup* radioButtonGroup = new FButtonGroup("Sex", &dgl); radioButtonGroup->setGeometry(2, 13, 13, 4); - + // Create radio buttons FRadioButton* male = new FRadioButton("&Male", radioButtonGroup); FRadioButton* female = new FRadioButton("&Female",radioButtonGroup); male->setGeometry(1, 1, 7, 1); female->setGeometry(1, 2, 7, 1); - + // Create another button group FButtonGroup* checkButtonGroup = new FButtonGroup("&Data options", &dgl); checkButtonGroup->setGeometry(16, 13, 19, 4); @@ -98,7 +98,7 @@ int main (int argc, char* argv[]) // Create checkbox buttons FCheckBox* check1 = new FCheckBox("Save data", checkButtonGroup); FCheckBox* check2 = new FCheckBox("Encrypt data", checkButtonGroup); - check1->setGeometry(1, 1, 7, 1); + check1->setGeometry(1, 1, 7, 1); check2->setGeometry(1, 2, 7, 1); check2->setDisable(); diff --git a/test/ui.cpp b/test/ui.cpp index 593069ab..d39f8a79 100644 --- a/test/ui.cpp +++ b/test/ui.cpp @@ -232,13 +232,13 @@ MyDialog::MyDialog (FWidget* parent) : FDialog(parent) MyButton4->setStatusbarMessage("Progressbar testing dialog"); MyButton4->setShadow(); MyButton4->setDisable(); - + FButton* MyButton5 = new FButton(this); MyButton5->setGeometry(19, 11, 12, 1); MyButton5->setText(L"Environs"); MyButton5->setStatusbarMessage("Show environment settings"); MyButton5->setShadow(); - + FButton* MyButton6 = new FButton(this); MyButton6->setGeometry(19, 14, 12, 1); MyButton6->setText(L"&Get input");