mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-23 19:25:54 +01:00
Make it clear what are we trying to check here
This commit is contained in:
parent
2c770d3756
commit
a815bc762f
@ -654,7 +654,7 @@ static quint32 readSymbol(DataStream &stream, QPixmap &pixmap)
|
||||
ds += paletteSize * 4;
|
||||
}
|
||||
|
||||
if (imageSize >= lineSize * height) {
|
||||
if (data.size() >= lineSize * height) {
|
||||
if (paletteSize) {
|
||||
img = QImage((uchar*)data.data(), width, height, lineSize,
|
||||
QImage::Format_Indexed8);
|
||||
|
Loading…
Reference in New Issue
Block a user