# HG changeset patch # User Matti Hamalainen # Date 1509850205 -7200 # Node ID 36016db0d0b30d2bb5549533cf039d785cfe5b76 # Parent 3baed76155a1a8e28d24515deaab9e9372dee11d Oops, the check for maximum filename index was wrong. diff -r 3baed76155a1 -r 36016db0d0b3 tools/view64.c --- a/tools/view64.c Sun Nov 05 04:47:13 2017 +0200 +++ b/tools/view64.c Sun Nov 05 04:50:05 2017 +0200 @@ -356,7 +356,7 @@ break; case SDLK_RIGHT: - if (currIndex < noptFilenames2) + if (currIndex < noptFilenames2 - 1) currIndex++; break;