mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
Merge branch 'master' of ssh://git.code.sf.net/p/cdesktopenv/code
This commit is contained in:
commit
1de5d477c9
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ Bool _DtXineramaGetScreen(DtXineramaInfo_t *DtXI, unsigned int screen,
|
|||
if (DtXI->numscreens == 0)
|
||||
return(False); /* no screens or no Xinerama */
|
||||
|
||||
if (screen < 0 || screen >= DtXI->numscreens)
|
||||
if (screen >= DtXI->numscreens)
|
||||
return(False); /* invalid screen */
|
||||
|
||||
/* now get the info from the XinerInfo */
|
||||
|
|
Loading…
Reference in a new issue