diff --git a/BizHawk.MultiClient/tools/RamSearch.cs b/BizHawk.MultiClient/tools/RamSearch.cs index 3639a71288..bfe705f06b 100644 --- a/BizHawk.MultiClient/tools/RamSearch.cs +++ b/BizHawk.MultiClient/tools/RamSearch.cs @@ -594,16 +594,15 @@ namespace BizHawk.MultiClient private void SearchListView_QueryItemText(int index, int column, out string text) { - text = ""; if (column == 0) { text = searchList[index].address.ToString(addressFormatStr); } - if (column == 1) + else if (column == 1) { text = searchList[index].ValueToString(); } - if (column == 2) + else if (column == 2) { switch (Global.Config.RamSearchPreviousAs) { @@ -622,10 +621,14 @@ namespace BizHawk.MultiClient break; } } - if (column == 3) + else if (column == 3) { text = searchList[index].changecount.ToString(); } + else + { + text = ""; + } } private void ClearChangeCounts()