tuxtxt.cpp:fix error array-bound

Origin commit data
------------------
Commit: fd84ed4100
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2015-03-19 (Thu, 19 Mar 2015)
This commit is contained in:
Jacek Jendrzej
2015-03-19 17:20:36 +01:00
parent 3641bd7bf7
commit 2859a4a3e7

View File

@@ -3213,7 +3213,8 @@ void ConfigMenu(int Init)
for (i1=hotindex; i1<maxhotlist; i1++) /* move rest of list */
{
hotlist[i1] = hotlist[i1+1];
if(i1+1<maxhotlist)
hotlist[i1] = hotlist[i1+1];
}
maxhotlist--;
if (hotindex > maxhotlist)