~cadence/PE-DIA

08b594740ce6480c6f5ca6fbd64d7b1215e966d1 — Cadence Ember 1 year, 3 months ago 33b61da
Use the constant for characters per line
1 files changed, 1 insertions(+), 1 deletions(-)

M decompiler.rkt
M decompiler.rkt => decompiler.rkt +1 -1
@@ 112,7 112,7 @@
              [n0 (in-naturals 0)])
          (define n1 (add1 n0))
          (define last-line? (eq? n1 (length (interchange^-lines interchange))))
          (define offset (* n0 38))
          (define offset (* n0 chars-per-line))
          (when (n1 . > . max-number-of-lines)
            (printf "~~ CAUTION: The next line is the ~ath line, but WA can only have ~a lines per interchange.~n~~          Remove the next line or the player and editor will become corrupted.~n" n1 max-number-of-lines))
          (for ([char line]