Previously, if there were 2 default presets (HB and user), both names would be displayed in bold.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5305
b64f7644-9d1e-0410-96f1-
a4d463321fa5
}
- /* We use Bold Text for the HB Default */
- if ([[item objectForKey:@"Default"] intValue] == 1)// 1 is HB default
+ /* We use bold text for the default preset */
+ if (presetUserDefault == nil && // no User default found
+ [[item objectForKey:@"Default"] intValue] == 1)// 1 is HB default
{
txtFont = [NSFont boldSystemFontOfSize: [NSFont smallSystemFontSize]];
}
- /* We use Bold Text for the User Specified Default */
if ([[item objectForKey:@"Default"] intValue] == 2)// 2 is User default
{
txtFont = [NSFont boldSystemFontOfSize: [NSFont smallSystemFontSize]];