Fix suspicious return expression which causes junk to be returned.
reviewed by: plam
This commit is contained in:
parent
b152a85bdc
commit
b36f2a39d0
|
@ -1,3 +1,11 @@
|
|||
2006-03-02 Egmont Koblinger <egmont@uhulinux.hu>
|
||||
reviewed by: plam
|
||||
|
||||
* src/fclang.c (FcCharSetForLang):
|
||||
|
||||
Fix suspicious return expression which causes junk
|
||||
to be returned.
|
||||
|
||||
2006-02-24 Patrick Lam <plam@mit.edu>
|
||||
* ChangeLog:
|
||||
* README:
|
||||
|
|
|
@ -216,7 +216,7 @@ FcCharSetForLang (const FcChar8 *lang)
|
|||
}
|
||||
if (country == -1)
|
||||
return 0;
|
||||
return &fcLangCharSets[i].charset;
|
||||
return &fcLangCharSets[country].charset;
|
||||
}
|
||||
|
||||
FcLangSet *
|
||||
|
|
Loading…
Reference in New Issue