summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Fl_MacOS_Sys_Menu_Bar.mm4
-rw-r--r--src/Fl_Native_File_Chooser_GTK.cxx2
-rw-r--r--src/Fl_Native_File_Chooser_MAC.mm2
-rw-r--r--src/drivers/PostScript/Fl_PostScript.cxx4
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/Fl_MacOS_Sys_Menu_Bar.mm b/src/Fl_MacOS_Sys_Menu_Bar.mm
index de7e7b00c..a7c5e2f20 100644
--- a/src/Fl_MacOS_Sys_Menu_Bar.mm
+++ b/src/Fl_MacOS_Sys_Menu_Bar.mm
@@ -737,10 +737,10 @@ void Fl_MacOS_Sys_Menu_Bar_Driver::play_menu(const Fl_Menu_Item *item) {
free(label);
AXUIElementRef appElement = AXUIElementCreateApplication(getpid());
AXUIElementRef menu_bar = NULL;
- AXError error = AXUIElementCopyAttributeValue(appElement, kAXMenuBarAttribute,
+ AXError error = AXUIElementCopyAttributeValue(appElement, kAXMenuBarAttribute,
(CFTypeRef *)&menu_bar);
if (!error) error = AXUIElementGetAttributeValueCount(menu_bar, kAXChildrenAttribute, &count);
- if (!error) error = AXUIElementCopyAttributeValues(menu_bar, kAXChildrenAttribute, 0, count,
+ if (!error) error = AXUIElementCopyAttributeValues(menu_bar, kAXChildrenAttribute, 0, count,
&children);
if (!error) {
NSEnumerator *enumerator = [(NSArray*)children objectEnumerator];
diff --git a/src/Fl_Native_File_Chooser_GTK.cxx b/src/Fl_Native_File_Chooser_GTK.cxx
index 49b99f623..e0826e3e2 100644
--- a/src/Fl_Native_File_Chooser_GTK.cxx
+++ b/src/Fl_Native_File_Chooser_GTK.cxx
@@ -972,6 +972,6 @@ Fl_Native_File_Chooser::Fl_Native_File_Chooser(int val) {
}
}
#endif // HAVE_DLSYM && HAVE_DLFCN_H
-
+
if (!platform_fnfc) platform_fnfc = new Fl_Native_File_Chooser_FLTK_Driver(val);
}
diff --git a/src/Fl_Native_File_Chooser_MAC.mm b/src/Fl_Native_File_Chooser_MAC.mm
index 5c424cb24..002e0a404 100644
--- a/src/Fl_Native_File_Chooser_MAC.mm
+++ b/src/Fl_Native_File_Chooser_MAC.mm
@@ -540,7 +540,7 @@ static char *prepareMacFilter(int count, const char *filter, char **patterns) {
else
#endif
if (fl_mac_os_version >= 100900) {
- [dialog performSelector:@selector(setAllowedFileTypes:)
+ [dialog performSelector:@selector(setAllowedFileTypes:)
withObject:[NSArray arrayWithObject:ext]];
}
}
diff --git a/src/drivers/PostScript/Fl_PostScript.cxx b/src/drivers/PostScript/Fl_PostScript.cxx
index 3b81789d0..a1f511bef 100644
--- a/src/drivers/PostScript/Fl_PostScript.cxx
+++ b/src/drivers/PostScript/Fl_PostScript.cxx
@@ -1645,7 +1645,7 @@ static int update_format_layout(int rank, Fl_Paged_Device::Page_Layout layout,
});
FL_INLINE_CALLBACK_2( modal, Fl_Window*, win, modal,
Fl_Check_Button*, check_but, default_size,
- {
+ {
*((bool*)check_but->user_data()) = check_but->value();
win->hide();
} );
@@ -1676,7 +1676,7 @@ static int update_format_layout(int rank, Fl_Paged_Device::Page_Layout layout,
int Fl_PDF_Pango_File_Surface::begin_job(const char *defaultname, char **perr_message) {
static Page_Layout layout = PORTRAIT;
-
+
Fl_Preferences print_prefs(Fl_Preferences::CORE_USER, "fltk.org", "printers");
char *pref_format;
print_prefs.get("PDF/page_size", pref_format, "A4");
diff --git a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
index 139ba2ea9..271895114 100644
--- a/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Window_Driver.cxx
@@ -1519,7 +1519,7 @@ void Fl_Wayland_Window_Driver::makeWindow()
if (top_dr->xdg_toplevel()) xdg_toplevel_set_parent(new_window->xdg_toplevel,
top_dr->xdg_toplevel());
}
- if (scr_driver->seat->gtk_shell && pWindow->modal() &&
+ if (scr_driver->seat->gtk_shell && pWindow->modal() &&
(new_window->kind == DECORATED || new_window->kind == UNFRAMED)) {
// Useful to position modal windows above their parent with "gnome-shell --version" ≤ 45.2,
// useless but harmless with "gnome-shell --version" ≥ 46.0.