[X2Go-Commits] [nx-libs] 01/02: fixup-impl-bas-scr-box-ext
git-admin at x2go.org
git-admin at x2go.org
Mon May 7 04:30:12 CEST 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x-rpm-debug
in repository nx-libs.
commit 5ad0fdcd6967de975cdefd855dacc314d8a4c674
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon May 7 04:29:16 2018 +0200
fixup-impl-bas-scr-box-ext
---
nx-X11/programs/Xserver/hw/nxagent/Screen.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index a3663a4..48052b1 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -5824,14 +5824,15 @@ static Bool nxagentScreenCrtcsFilterScreenSolutions(const nxagentScreenCrtcsSolu
* Helper setting up its my_solution output parameter according to the first
* solution in the best_screen_solutions list.
*
- * No parameters may be NULL.
+ * No pointer parameters may be NULL. screen_number is allowed to be zero
+ * (indicating the first screen).
*
* Returns true on success, otherwise false.
*/
static Bool nxagentScreenCrtcsSelectSolution(const nxagentScreenBoxes *screen_boxes, const size_t screen_number, const Bool *screens_init, const nxagentScreenCrtcsSolutions *best_screen_solutions, nxagentScreenCrtcsSolution **my_solution) {
Bool ret = FALSE;
- if ((!(screen_boxes)) || (!(screen_number)) || (!(screens_init)) || (!(best_screen_solutions)) || (!(my_solution))) {
+ if ((!(screen_boxes)) || (!(screens_init)) || (!(best_screen_solutions)) || (!(my_solution))) {
return(ret);
}
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list