Minor edit: Renamed the boolean so that it makes more sense.

This commit is contained in:
pasky1382 2012-09-26 04:30:35 +00:00
parent 8b3e54b397
commit 72b1e1222a
1 changed files with 4 additions and 4 deletions

View File

@ -1941,7 +1941,7 @@ namespace BizHawk.MultiClient
return values;
}
public void FindNext(string value, Boolean last)
public void FindNext(string value, Boolean wrap)
{
int found = -1;
@ -1987,13 +1987,13 @@ namespace BizHawk.MultiClient
FindStr = search;
MemoryViewerBox.Focus();
}
else if (last == false) // Search the opposite direction if not found
else if (wrap == false) // Search the opposite direction if not found
{
FindPrev(value, true);
}
}
public void FindPrev(string value, Boolean last)
public void FindPrev(string value, Boolean wrap)
{
int found = -1;
@ -2035,7 +2035,7 @@ namespace BizHawk.MultiClient
FindStr = search;
MemoryViewerBox.Focus();
}
else if (last == false) // Search the opposite direction if not found
else if (wrap == false) // Search the opposite direction if not found
{
FindPrev(value, true);
}