mirror of
https://github.com/gnustep/libs-back.git
synced 2025-02-23 20:01:22 +00:00
Use [fi class] instead of fi->isa.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@14603 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
519c1ee986
commit
802e8e9997
1 changed files with 2 additions and 2 deletions
|
@ -300,7 +300,7 @@ static void add_face(NSString *family, int family_weight,
|
|||
/* TODO: Need to define the strings somewhere, and make sure the
|
||||
strings files get created. */
|
||||
faceName = [NSLocalizedStringFromTableInBundle(faceName,nil,
|
||||
[NSBundle bundleForClass: fi->isa],nil) copy];
|
||||
[NSBundle bundleForClass: [fi class]],nil) copy];
|
||||
fi->faceName = faceName;
|
||||
}
|
||||
else if (!from_nfont)
|
||||
|
@ -310,7 +310,7 @@ static void add_face(NSString *family, int family_weight,
|
|||
rawFaceName = faceName = [family substringFromIndex: split];
|
||||
family = [family substringToIndex: split];
|
||||
faceName = [NSLocalizedStringFromTableInBundle(faceName,nil,
|
||||
[NSBundle bundleForClass: fi->isa],nil) copy];
|
||||
[NSBundle bundleForClass: [fi class]],nil) copy];
|
||||
fi->faceName = faceName;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue