Files
wren/util
Bob Nystrom 82bba89a3b fix: correct index from 2 to 1 when accessing arch argument in main function
The off-by-one error caused the arch argument to be read from args[2] instead of args[1], which would either read an out-of-bounds index or pick the wrong argument when exactly two arguments were provided. This fix ensures the optional architecture parameter is correctly retrieved from the second command-line argument.
2017-04-09 16:37:27 +00:00
..