Skip to content

Commit dd217b0

Browse files
committed
Update SVGFileFormat.java
1 parent b3eded4 commit dd217b0

File tree

1 file changed

+1
-1
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image

1 file changed

+1
-1
lines changed

bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/SVGFileFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ boolean isFileFormat(LEDataInputStream stream) throws IOException {
4343

4444
@Override
4545
List<ElementAtZoom<ImageData>> loadFromByteStream(int fileZoom, int targetZoom) {
46-
return Arrays.stream(loadFromByteStream(targetZoom)).map(d -> new ElementAtZoom<>(d, fileZoom)).toList();
46+
return Arrays.stream(loadFromByteStream(targetZoom)).map(d -> new ElementAtZoom<>(d, targetZoom)).toList();
4747
}
4848

4949
private ImageData[] loadFromByteStream(int targetZoom) {

0 commit comments

Comments
 (0)