diff --git a/macosx/IPCController.m b/macosx/IPCController.m index 3bbbea388..da7af7761 100644 --- a/macosx/IPCController.m +++ b/macosx/IPCController.m @@ -860,7 +860,7 @@ void msg_setbool( enum ipc_msg msgid, benc_val_t * val, int64_t tag, void * arg [client sendrespEmpty:IPC_MSG_OK tag:tag]; break; case IPC_MSG_PEX: -#warning we dont support this :( + //we dont support this :( [client sendrespEmpty: IPC_MSG_FAIL tag: tag]; break; default: diff --git a/macosx/TorrentCell.m b/macosx/TorrentCell.m index 986302281..2cff23201 100644 --- a/macosx/TorrentCell.m +++ b/macosx/TorrentCell.m @@ -357,7 +357,7 @@ { if ([torrent isActive] && ![torrent allDownloaded] && [fDefaults boolForKey: @"DisplayProgressBarAvailable"]) { - int notAvailableWidth = MIN(barRect.size.width * [torrent notAvailableDesired], rightWidth); + int notAvailableWidth = MIN(ceil(barRect.size.width * [torrent notAvailableDesired]), rightWidth); rightWidth -= notAvailableWidth; if (notAvailableWidth > 0)