1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-14 18:34:43 +00:00

parentheses makes things better

This commit is contained in:
Mitchell Livingston 2007-02-02 01:51:23 +00:00
parent 370e9ab355
commit 50fbe60adb

View file

@ -889,7 +889,7 @@
limit = upload ? [torrent uploadLimit] : [torrent downloadLimit]; limit = upload ? [torrent uploadLimit] : [torrent downloadLimit];
while ((torrent = [enumerator nextObject])) while ((torrent = [enumerator nextObject]))
if (limit != upload ? [torrent uploadLimit] : [torrent downloadLimit]) if (limit != (upload ? [torrent uploadLimit] : [torrent downloadLimit]))
{ {
[sender setStringValue: @""]; [sender setStringValue: @""];
return; return;