Fix typo leading to bogus code in xorgcfg (Andreas Schwab).
This commit is contained in:
parent
7eb6b69ebd
commit
277ff06e99
|
@ -695,7 +695,7 @@ AdjustScreenUI(void)
|
||||||
if (lefscr == NULL && rigscr == NULL && topscr == NULL && lefscr == NULL) {
|
if (lefscr == NULL && rigscr == NULL && topscr == NULL && lefscr == NULL) {
|
||||||
XF86ConfScreenPtr s;
|
XF86ConfScreenPtr s;
|
||||||
|
|
||||||
if (adj->adj_where >= CONF_ADJ_RIGHTOF < adj->adj_where <= CONF_ADJ_BELOW) {
|
if (adj->adj_where >= CONF_ADJ_RIGHTOF && adj->adj_where <= CONF_ADJ_BELOW) {
|
||||||
s = xf86findScreen(adj->adj_refscreen, XF86Config->conf_screen_lst);
|
s = xf86findScreen(adj->adj_refscreen, XF86Config->conf_screen_lst);
|
||||||
for (i = 0; i < computer.num_screens; i++)
|
for (i = 0; i < computer.num_screens; i++)
|
||||||
if (computer.screens[i]->screen == s)
|
if (computer.screens[i]->screen == s)
|
||||||
|
|
Loading…
Reference in New Issue