1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-18 16:41:14 +02:00

Fix bug 1894

This commit is contained in:
Steve Daulton
2018-07-03 00:58:41 +01:00
parent a06e561cb7
commit 1be17fc7a7

View File

@@ -453,6 +453,12 @@ void Tags::SetTag(const wxString & name, const wxString & value)
return; return;
} }
// Tag name must be ascii
if (!name.IsAscii()) {
wxLogError("Tag rejected (Non-ascii character in name)");
return;
}
// All keys are uppercase // All keys are uppercase
wxString key = name; wxString key = name;
key.UpperCase(); key.UpperCase();