oops
authorJoey Hess <joeyh@joeyh.name>
Mon, 23 Sep 2024 20:02:39 +0000 (16:02 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 23 Sep 2024 20:02:39 +0000 (16:02 -0400)
Annex/Sim.hs

index eda3fcc1fa9183b7d705dfb625703e1b2951bc07..002dcb493485be3607abb3ffe2b6bda188d68eb0 100644 (file)
@@ -508,7 +508,7 @@ handleStep startn n st
        | otherwise = return st
   where
        runrest actions st' n'
-               | n > 0 = do
+               | n' > 0 = do
                        (st'', restactions) <- runoneaction actions st'
                        if null restactions
                                then handleStep startn n' st'