Commit 67c2b28b authored by Matthias Clasen's avatar Matthias Clasen Committed by Alberts Muktupāvels
Browse files

display-config: fix a copy-past error

The code was checking width twice, instead of width and height,
as was clearly the intention. Coverity pointed this out.

https://bugzilla.gnome.org/show_bug.cgi?id=752551
parent 5253dacf
......@@ -952,7 +952,7 @@ handle_end_element (GMarkupParseContext *context,
else
{
if (parser->output.rect.width == 0 &&
parser->output.rect.width == 0)
parser->output.rect.height == 0)
parser->output.enabled = FALSE;
else
parser->output.enabled = TRUE;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment