1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 01:03:01 +00:00

on Mac, it's NSRect, not CGRect

This commit is contained in:
Mitchell Livingston 2012-05-14 00:27:40 +00:00
parent cb1903aa1e
commit f6802d8552

View file

@ -64,8 +64,8 @@
[fCheckAllButton setTitle: NSLocalizedString(@"All", "inspector -> check all")];
[fUncheckAllButton setTitle: NSLocalizedString(@"None", "inspector -> check all")];
CGRect checkAllFrame = [fCheckAllButton frame];
CGRect uncheckAllFrame = [fUncheckAllButton frame];
NSRect checkAllFrame = [fCheckAllButton frame];
NSRect uncheckAllFrame = [fUncheckAllButton frame];
const CGFloat oldAllWidth = checkAllFrame.size.width;
const CGFloat oldNoneWidth = uncheckAllFrame.size.width;