fix incorrect pool-release in checking for monospace font
svn: r7732
This commit is contained in:
parent
a9ddbb33e4
commit
e1fc8e96f0
|
@ -21,7 +21,6 @@ int wx_isFamilyFixedWidth(FMFontFamily fam)
|
||||||
if (!ATSFontGetPostScriptName(ats, kATSOptionFlagsDefault, &ref)) {
|
if (!ATSFontGetPostScriptName(ats, kATSOptionFlagsDefault, &ref)) {
|
||||||
nsfnt = [NSFont fontWithName: (NSString *)ref size: 12];
|
nsfnt = [NSFont fontWithName: (NSString *)ref size: 12];
|
||||||
CFRelease(ref);
|
CFRelease(ref);
|
||||||
[pool release];
|
|
||||||
is_fw = [nsfnt isFixedPitch];
|
is_fw = [nsfnt isFixedPitch];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user