forked from mia/Aegisub
Add (const char*) to silence warning to strcmp.
Originally committed to SVN as r3454.
This commit is contained in:
parent
eb807fea3d
commit
eceb72d95e
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ wxArrayString FontConfigFontFileLister::DoGetFilesWithFace(wxString facename) {
|
|||
if (!final) return results;
|
||||
if (FcPatternGetString(final, FC_FILE, 0, &filename) == FcResultMatch && FcPatternGetInteger(final, FC_INDEX, 0, &fontindex) == FcResultMatch) {
|
||||
FcPatternGetString(final, FC_FAMILY, fontindex, &gotfamily);
|
||||
if (strcmp(gotfamily,buffer) == 0) {
|
||||
if (strcmp((const char*)gotfamily,buffer) == 0) {
|
||||
results.Add(wxString((char*) filename,csConvLocal));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue