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;
|
size_t refcount;
|
||||||
uiAttributeType type;
|
uiAttributeType type;
|
||||||
union {
|
union {
|
||||||
const char *family;
|
char *family;
|
||||||
double size;
|
double size;
|
||||||
uiTextWeight weight;
|
uiTextWeight weight;
|
||||||
uiTextItalic italic;
|
uiTextItalic italic;
|
||||||
|
|
Loading…
Reference in New Issue