mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-18 00:21:18 +02:00
Fix bug 1894
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user