Lines 276-282
Link Here
|
276 |
} |
276 |
} |
277 |
case XftTypeString: |
277 |
case XftTypeString: |
278 |
str+="\""; |
278 |
str+="\""; |
279 |
str+=test->value.u.s; |
279 |
str+=(QCString &)test->value.u.s; |
280 |
str+="\""; |
280 |
str+="\""; |
281 |
break; |
281 |
break; |
282 |
case XftTypeBool: |
282 |
case XftTypeBool: |
Lines 554-560
Link Here
|
554 |
XftValue value; |
554 |
XftValue value; |
555 |
CXftConfig::TEntry *entry=new CXftConfig::TEntry; |
555 |
CXftConfig::TEntry *entry=new CXftConfig::TEntry; |
556 |
|
556 |
|
557 |
value.u.s=sval; |
557 |
(char *)value.u.s=sval; |
558 |
value.type=XftTypeString; |
558 |
value.type=XftTypeString; |
559 |
entry->test=XftTestCreate(XftQualAny, "family", XftOpEqual, value); |
559 |
entry->test=XftTestCreate(XftQualAny, "family", XftOpEqual, value); |
560 |
|
560 |
|
Lines 780-786
Link Here
|
780 |
|
780 |
|
781 |
for(entry=itsList.first(); entry; entry=itsList.next()) |
781 |
for(entry=itsList.first(); entry; entry=itsList.next()) |
782 |
if(entry->test && 0==CMisc::stricmp(entry->test->field, "family") && XftTypeString==entry->test->value.type && |
782 |
if(entry->test && 0==CMisc::stricmp(entry->test->field, "family") && XftTypeString==entry->test->value.type && |
783 |
0==CMisc::stricmp(entry->test->value.u.s, family.latin1()) && entry->edit && |
783 |
0==CMisc::stricmp((char *)entry->test->value.u.s, family.latin1()) && entry->edit && |
784 |
0==CMisc::stricmp(entry->edit->field, field) && XftOpAssign==entry->edit->op && entry->edit->expr) |
784 |
0==CMisc::stricmp(entry->edit->field, field) && XftOpAssign==entry->edit->op && entry->edit->expr) |
785 |
break; |
785 |
break; |
786 |
|
786 |
|
Lines 798-804
Link Here
|
798 |
free(test->field); |
798 |
free(test->field); |
799 |
|
799 |
|
800 |
if(XftTypeString==test->value.type) |
800 |
if(XftTypeString==test->value.type) |
801 |
free(test->value.u.s); |
801 |
free((void *)test->value.u.s); |
802 |
} |
802 |
} |
803 |
} |
803 |
} |
804 |
|
804 |
|