summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2021-12-06 19:56:40 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2021-12-06 19:56:40 +0100
commit8334abe544c3e9e222acdb282652ad5e2f4a9609 (patch)
tree9b0fd9d92d75d9303bb34811b384ca6f27d21105
parent39b5ae9e6e957582eddf16c86829d01473458e5d (diff)
Fix whitespace errors (no code changes)
(1) convert tabs to spaces (2) remove trailing whitespace
-rw-r--r--src/Fl_Message.cxx4
-rw-r--r--src/drivers/X11/Fl_X11_Window_Driver.cxx2
-rw-r--r--test/device.cxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_Message.cxx b/src/Fl_Message.cxx
index 4cfb824a2..4332416db 100644
--- a/src/Fl_Message.cxx
+++ b/src/Fl_Message.cxx
@@ -503,7 +503,7 @@ const char *Fl_Message::input_innards(const char *fmt, va_list ap, const char *d
will be reset to an empty title (the default for all dialogs) after
that call.
- \param[in] title window label, string copied internally
+ \param[in] title window label, string copied internally
*/
void Fl_Message::message_title(const char *title) {
if (message_title_) {
@@ -527,7 +527,7 @@ void Fl_Message::message_title(const char *title) {
The \p title string is copied internally, so that you can use a
local variable or free the string immediately after this call.
- \param[in] title default window label, string copied internally
+ \param[in] title default window label, string copied internally
*/
void Fl_Message::message_title_default(const char *title) {
if (message_title_default_) {
diff --git a/src/drivers/X11/Fl_X11_Window_Driver.cxx b/src/drivers/X11/Fl_X11_Window_Driver.cxx
index fc583bd83..1a98f78e3 100644
--- a/src/drivers/X11/Fl_X11_Window_Driver.cxx
+++ b/src/drivers/X11/Fl_X11_Window_Driver.cxx
@@ -95,7 +95,7 @@ void Fl_X11_Window_Driver::decorated_win_size(int &w, int &h)
attributes.height -= (attributes.width - w_attributes.width);
attributes.width = w_attributes.width;
}
-
+
int nscreen = screen_num();
float s = Fl::screen_driver()->scale(nscreen);
w = attributes.width / s;
diff --git a/test/device.cxx b/test/device.cxx
index 44d1c05a4..0a0d64081 100644
--- a/test/device.cxx
+++ b/test/device.cxx
@@ -602,7 +602,7 @@ void copy(Fl_Widget *, void *data) {
}
}
}
-
+
if (strcmp(operation, "fl_capture_window()") == 0) {
Fl_Window *win = target->as_window() ? target->as_window() : target->window();
int X = target->as_window() ? 0 : target->x();