Commit 94bd33f1 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

input: small simplification

parent 61e068e6
......@@ -2739,12 +2739,9 @@ static char *LanguageGetCode( const char *psz_lang )
!strcasecmp( pl->psz_iso639_1, psz_lang ) ||
!strcasecmp( pl->psz_iso639_2T, psz_lang ) ||
!strcasecmp( pl->psz_iso639_2B, psz_lang ) )
break;
return strdup( pl->psz_iso639_1 );
}
if( pl->psz_eng_name != NULL )
return strdup( pl->psz_iso639_1 );
return strdup("??");
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment