summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2014-05-08 13:02:15 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2014-05-08 13:48:43 +0100
commitad01e1c8700caeaf0288b72450646d7ebe7cce93 (patch)
tree86a639f06da1a798cffc9ed3e1cd48b8d6fb400e /src
parente78a00c5da922024ac64270fae0797d98d1d6e57 (diff)
sna: Fix another assignment inside an assert
Another recent introduction, spotted by Rinat Ibragimov. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src')
-rw-r--r--src/sna/sna_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sna/sna_display.c b/src/sna/sna_display.c
index 51b4db67..eda6c5b7 100644
--- a/src/sna/sna_display.c
+++ b/src/sna/sna_display.c
@@ -3014,7 +3014,7 @@ static void sort_randr_outputs(struct sna *sna, ScreenPtr screen)
rrScrPriv(screen);
int i;
- assert(pScrPriv->numOutputs = config->num_output);
+ assert(pScrPriv->numOutputs == config->num_output);
for (i = 0; i < config->num_output; i++) {
assert(config->output[i]->randr_output);
pScrPriv->outputs[i] = config->output[i]->randr_output;