Fix selecting incorrect image (#659)

This commit is contained in:
Touhou-fan 2018-08-11 23:53:20 +02:00 committed by fourtf
parent 44f5a15da3
commit b3fd278c3c

View file

@ -76,7 +76,7 @@ const ImagePtr &ImageSet::getImage(float scale) const
}
if (!this->imageX2_->isEmpty() && quality == 2) {
return this->imageX3_;
return this->imageX2_;
}
return this->imageX1_;