mirror of
https://github.com/transmission/transmission.git
synced 2026-04-18 07:56:33 +01:00
Replace preprocessor defines with constants in objc code (#3974)
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
#import "NSMutableArrayAdditions.h"
|
||||
#import "NSStringAdditions.h"
|
||||
|
||||
#define ROW_SMALL_HEIGHT 18.0
|
||||
static CGFloat const kRowSmallHeight = 18.0;
|
||||
|
||||
typedef NS_ENUM(unsigned int, fileCheckMenuTag) { //
|
||||
FILE_CHECK_TAG,
|
||||
@@ -346,7 +346,7 @@ typedef NS_ENUM(unsigned int, filePriorityMenuTag) { //
|
||||
{
|
||||
if (((FileListNode*)item).isFolder)
|
||||
{
|
||||
return ROW_SMALL_HEIGHT;
|
||||
return kRowSmallHeight;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user