uiAttribute copies family names, so its internal copy doesn't need to be const. Fix this.
This commit is contained in:
parent
9194ba29fe
commit
115a60c950
|
@ -8,7 +8,7 @@ struct uiAttribute {
|
|||
size_t refcount;
|
||||
uiAttributeType type;
|
||||
union {
|
||||
const char *family;
|
||||
char *family;
|
||||
double size;
|
||||
uiTextWeight weight;
|
||||
uiTextItalic italic;
|
||||
|
|
Loading…
Reference in New Issue