Fix bug 1894
This commit is contained in:
parent
a06e561cb7
commit
1be17fc7a7
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue