From dc2d11b1d6953174c4fff0e94209d590df5a737c Mon Sep 17 00:00:00 2001 From: "v.audacity" Date: Fri, 17 Aug 2012 00:04:57 +0000 Subject: [PATCH] Fix bug 507, per patch from Chandranshu Garg. --- src/Tags.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tags.cpp b/src/Tags.cpp index a0727ec86..72fb585b3 100644 --- a/src/Tags.cpp +++ b/src/Tags.cpp @@ -1231,7 +1231,7 @@ void TagsEditor::OnRemove(wxCommandEvent & event) else if (!mEditTrack && mGrid->GetCellValue(row, 0).CmpNoCase(LABEL_TRACK) == 0) { return; } - else if (row < STATICCNT - 1) { + else if (row < STATICCNT) { mGrid->SetCellValue(row, 1, wxEmptyString); } else if (row >= STATICCNT) {