Lancelot: fix a copy-paste error in the new drawPixmapFragment command

Caused crashes because of uninitialized variable

Pick-to: 6.5
Change-Id: I18f96e47b766415ad49e6a8515bbaa372b122cd3
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
Eirik Aavitsland 2023-03-06 16:22:08 +01:00
parent 12909d7c3d
commit 9273bcac7f

View File

@ -1513,7 +1513,7 @@ void PaintCommands::command_drawPixmapFragments(QRegularExpressionMatch re)
f.posx = convertToDouble(re.captured(captureIndexStart));
f.posy = convertToDouble(re.captured(captureIndexStart + 1));
f.srcx = convertToDouble(re.captured(captureIndexStart + 2));
f.srcx = convertToDouble(re.captured(captureIndexStart + 3));
f.srcy = convertToDouble(re.captured(captureIndexStart + 3));
f.srcw = convertToDouble(re.captured(captureIndexStart + 4));
f.srch = convertToDouble(re.captured(captureIndexStart + 5));
f.sx = convertToDouble(re.captured(captureIndexStart + 6));