From bc5d7e77aaa738963e149cf5301b579855c4201e Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Tue, 19 Dec 2023 19:36:07 +0100 Subject: [PATCH] Remove typos in the documentation of fl_x11_use_display() --- FL/x11.H | 7 ++++--- documentation/src/osissues.dox | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/FL/x11.H b/FL/x11.H index 2c98bc39f..a79cf38f8 100644 --- a/FL/x11.H +++ b/FL/x11.H @@ -26,9 +26,10 @@ /** Returns the X11 Display in use */ extern Display *fl_x11_display(); -/** Have FLTK use a pre-established X11 connexion. - This function should be called before FLTK attempts to open its own X11 connexion. - \param d the X11 Display* value representing a valid, pre-established X11 connexion +/** Have FLTK use a pre-established X11 connection. + This function must be called before FLTK attempts to open its own X11 connection, + that is, as long as fl_x11_display() returns NULL. + \param d the X11 Display* value representing a valid, pre-established X11 connection */ extern void fl_x11_use_display(Display *d); /** Returns the Window reference for the given Fl_Window, or zero if not \c shown(). */ diff --git a/documentation/src/osissues.dox b/documentation/src/osissues.dox index 1c8718c62..faf7178b7 100644 --- a/documentation/src/osissues.dox +++ b/documentation/src/osissues.dox @@ -270,7 +270,7 @@ This may call Fl::abort() if there is an error opening the display. void fl_x11_use_display(Display *d) \par -Directs FLTK to use a pre-established X11 connexion. +Directs FLTK to use a pre-established X11 connection. void fl_close_display()