uiAttribute copies family names, so its internal copy doesn't need to be const. Fix this.

This commit is contained in:
Pietro Gagliardi 2018-03-10 19:13:20 -05:00
parent 9194ba29fe
commit 115a60c950
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ struct uiAttribute {
size_t refcount;
uiAttributeType type;
union {
const char *family;
char *family;
double size;
uiTextWeight weight;
uiTextItalic italic;