diff options
author | Bryce Harrington <bryce@osg.samsung.com> | 2016-05-03 01:34:23 -0700 |
---|---|---|
committer | Bryce Harrington <bryce@osg.samsung.com> | 2016-05-03 01:34:23 -0700 |
commit | aa258985e91416456b55de8b60620cc1554ffb6e (patch) | |
tree | 8e3d210683eb985a9023b204fe0ebcecde7e35af /src | |
parent | e16acabf7a54e0e0c3c4f000726de487d4583035 (diff) | |
download | weston-aa258985e91416456b55de8b60620cc1554ffb6e.tar.gz |
x11: Fix incorrect output counting logic
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |