mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 20:35:36 +00:00
fix crash when torrent creation fails because an integer was being treated as a string
This commit is contained in:
@@ -58,7 +58,7 @@
|
||||
{
|
||||
if (fShow)
|
||||
{
|
||||
NSRect lineBorderRect = NSMakeRect(rect.origin.x, NSMaxY([self bounds]) - 1.0, rect.size.width, 1.0);
|
||||
NSRect lineBorderRect = NSMakeRect(rect.origin.x, [self bounds].size.height - 1.0, rect.size.width, 1.0);
|
||||
if (NSIntersectsRect(lineBorderRect, rect))
|
||||
{
|
||||
[[NSColor whiteColor] set];
|
||||
|
||||
Reference in New Issue
Block a user