diff options
author | pommicket <pommicket@gmail.com> | 2022-01-08 10:15:43 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-01-08 10:15:43 -0500 |
commit | d74f349e27a1ba20bd549362f95915ee6d2dd9d1 (patch) | |
tree | 900ab7d53c215e47c5bfb83acea94e1c74e3a19e /04/guessing_game | |
parent | 262824b21491446bb20acba8be1054207b5f50f0 (diff) |
allow terms to be more complicated
Diffstat (limited to '04/guessing_game')
-rw-r--r-- | 04/guessing_game | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/04/guessing_game b/04/guessing_game index 2c8fea9..5c85252 100644 --- a/04/guessing_game +++ b/04/guessing_game @@ -107,12 +107,10 @@ function stoi function strlen argument s - local c local p p = s :strlen_loop - c = *1p - if c == 0 goto strlen_loop_end + if *1p == 0 goto strlen_loop_end p += 1 goto strlen_loop :strlen_loop_end |