Mercurial > hg > early-roguelike
comparison arogue5/configure.ac @ 254:e940e6c00751
Add some braces to a loop in parse_opts().
A for loop had no braces around its body, which was a single if-else
statement. In Advanced Rogue 5, another statement had been added,
accidentally removing the if-else from the loop. This could have
resulted in an out-of-bounds access to the options array.
In the other games, the added braces are only for clarity.
author | John "Elwin" Edwards |
---|---|
date | Fri, 10 Feb 2017 09:02:58 -0500 |
parents | 5238b835d661 |
children | c222f9d56776 |
comparison
equal
deleted
inserted
replaced
252:3d4252fa2ed3 | 254:e940e6c00751 |
---|