x11: Fix incorrect output counting logic
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
This commit is contained in:
parent
e16acabf7a
commit
aa258985e9
@ -911,7 +911,7 @@ load_x11_backend(struct weston_compositor *c, char const * backend,
|
||||
}
|
||||
|
||||
output_count++;
|
||||
if (option_count && output_count >= option_count)
|
||||
if (output_count >= option_count)
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user