Fix whitespace errors (no code changes)

(1) convert tabs to spaces
(2) remove trailing whitespace
This commit is contained in:
Albrecht Schlosser 2021-12-06 19:56:40 +01:00
parent 39b5ae9e6e
commit 8334abe544
3 changed files with 4 additions and 4 deletions

View File

@ -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_) {

View File

@ -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;

View File

@ -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();