Correctly reset the loop start if it's after the loop end
tree3e3f0ba5e23eabf1bc6b6afda7f45b7650953971
-rw-r--r-- 25 .gitignore
-rw-r--r-- 1003 .travis.yml
-rw-r--r-- 7423 CMakeLists.txt
-rw-r--r-- 885 LICENSE
-rw-r--r-- 1476 README.md
drwxr-xr-x - cmake
-rw-r--r-- 346 config.h.in
drwxr-xr-x - examples
drwxr-xr-x - include
drwxr-xr-x - src