diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/viewport.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp index dcfe4cf01..e0996c786 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -2786,7 +2786,7 @@ calc_heightdiff_single_direction:; } } - if (t0 != 1 || t1 != 1) { + if (dx != 1 || dy != 1) { int heightdiff = CalcHeightdiff(style, 0, t0, t1); params[index++] = dx; |