Skip to content

Commit 611237f

Browse files
pavel-alayars18wrw
authored andcommitted
Fix typo
DEVSIX-1252 Autoported commit. Original commit hash: [43466a6]
1 parent 2e69468 commit 611237f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

itext/itext.layout/itext/layout/renderer/TableWidths.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ internal float[] AutoLayout() {
277277
for (int i = 0; i < widths.Length; i++) {
278278
if (widths[i].isPercent) {
279279
if (sumOfPercents < 100 && sumOfPercents + widths[i].width > 100) {
280-
widths[i].width = sumOfPercents - 100;
280+
widths[i].width = 100 - sumOfPercents;
281281
sumOfPercents += widths[i].width;
282282
Warn100percent();
283283
}

port-hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e96cd7b6af3679b0f4ebbb90d3753167f397180a
1+
43466a6c3e9bd89a333616f4447e864c7048f4aa

0 commit comments

Comments
 (0)