Skip to content

Commit

Permalink
Minor issue with Comman.Help fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Spartan322 committed May 13, 2017
1 parent 7622969 commit ce5f238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pathfinder/Command/Help.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static string GetPageString(int page = 0)
sb.Append(Helpfile.prefix.Replace("[PAGENUM]", page.ToString()).Replace("[TOTALPAGES]", PageCount.ToString()));
int count = num;
var enumer = help.GetEnumerator();
while (count < Helpfile.help.Count + help.count && count < num + Helpfile.ITEMS_PER_PAGE)
while (count < Helpfile.help.Count + help.Count && count < num + Helpfile.ITEMS_PER_PAGE)
{
if (count < Helpfile.help.Count)
sb.Append((count == 0 ? " " : "") + Helpfile.help[count] + "\n \n ");
Expand Down

0 comments on commit ce5f238

Please sign in to comment.