Skip to content

Commit

Permalink
Cosmetics
Browse files Browse the repository at this point in the history
  • Loading branch information
tumic0 committed Dec 17, 2024
1 parent 68f1f1f commit 7f20e2e
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions src/map/IMG/jls.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,14 @@ class JLS
struct Context
{
Context(quint16 width, quint16 range)
: data(QVector<quint16>((width + 3) * 2)), w(width)
: data(QVector<quint16>((width + 3) * 2)), w(width), rg(1),
runIndex(0), rk(0), lrk(0)
{
quint16 A = qMax(2, (range + 32) / 64);

last = data.data();
current = data.data() + (w + 3);

runIndex = 0;
rk = 0;
rg = 1;
lrk = 0;

quint16 A = qMax(2, (range + 32) / 64);
for (int i = 0; i < 4; i++) {
a[i] = A;
b[i] = 0;
Expand Down

0 comments on commit 7f20e2e

Please sign in to comment.